1 ; This test checks that NetBSD link_set array elements remain consecutive.
2 ; RUN: opt < %s -passes=asan -S | FileCheck %s
4 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
5 target triple = "x86_64-unknown-netbsd"
7 module asm ".hidden __stop_link_set_test_set"
9 @data1 = dso_local global i32 1, align 4
10 @data2 = dso_local global i32 2, align 4
11 @__link_set_test_set_sym_data1 = internal constant ptr @data1, section "link_set_test_set", align 8
12 @__link_set_test_set_sym_data2 = internal constant ptr @data2, section "link_set_test_set", align 8
13 ; CHECK: @__link_set_test_set_sym_data1 = internal constant ptr{{.*}}, section "link_set_test_set"
14 ; CHECK-NEXT: @__link_set_test_set_sym_data2 = internal constant ptr{{.*}}, section "link_set_test_set"