diff options
Diffstat (limited to 'test/Assembler/private-protected-variable.ll')
-rw-r--r-- | test/Assembler/private-protected-variable.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Assembler/private-protected-variable.ll b/test/Assembler/private-protected-variable.ll new file mode 100644 index 0000000..c4458f5 --- /dev/null +++ b/test/Assembler/private-protected-variable.ll @@ -0,0 +1,4 @@ +; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s + +@var = private protected global i32 0 +; CHECK: symbol with local linkage must have default visibility |