blob: cf8a8bc7132fb9523df3a1f5cc7948959e883a0e [file] [log] [blame]
; Tests that any symbols with special names have specially treated linkage.
; RUN: %if --need=allow_dump --command %p2i -i %s --filetype=asm \
; RUN: --args -nonsfi=0 \
; RUN: | %if --need=allow_dump --command FileCheck %s
; Verify that "__pnacl_pso_root", a specially named symbol, is made global, but
; other global variables are not.
@__pnacl_pso_root = constant [4 x i8] c"abcd";
@__pnacl_pso_not_root = constant [4 x i8] c"efgh";
; CHECK: .globl __pnacl_pso_root
; CHECK-NOT: .globl __pnacl_pso_not_root