diff options
Diffstat (limited to 'test/Assembler/unnamed-alias.ll')
-rw-r--r-- | test/Assembler/unnamed-alias.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Assembler/unnamed-alias.ll b/test/Assembler/unnamed-alias.ll new file mode 100644 index 000000000000..8ae1c45d312d --- /dev/null +++ b/test/Assembler/unnamed-alias.ll @@ -0,0 +1,11 @@ +; RUN: llvm-as < %s | llvm-dis | FileCheck %s + +@0 = private constant i32 0 +; CHECK: @0 = private constant i32 0 +@1 = private constant i32 1 +; CHECK: @1 = private constant i32 1 + +@2 = private alias i32* @0 +; CHECK: @2 = private alias i32* @0 +@3 = private alias i32* @1 +; CHECK: @3 = private alias i32* @1 |