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