aboutsummaryrefslogtreecommitdiff
path: root/test/Assembler
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-01-15 08:15:00 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-01-15 08:15:00 +0000
commitba7c38c36adb65d66c129270b2813fd2167488ed (patch)
tree82995351f44cc9d463dfde26aa790d4ba1359401 /test/Assembler
parent6ccb5ef1b504e71b63219437f5bcf4856207949b (diff)
Allow unnamed_addr on declarations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123529 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler')
-rw-r--r--test/Assembler/declare-unnamed-addr.ll8
-rw-r--r--test/Assembler/external-unnamed-addr.ll8
2 files changed, 0 insertions, 16 deletions
diff --git a/test/Assembler/declare-unnamed-addr.ll b/test/Assembler/declare-unnamed-addr.ll
deleted file mode 100644
index ac74299c71..0000000000
--- a/test/Assembler/declare-unnamed-addr.ll
+++ /dev/null
@@ -1,8 +0,0 @@
-; RUN: not llvm-as %s -o /dev/null 2>%t
-; RUN: FileCheck -input-file=%t %s
-
-declare unnamed_addr i32 @zed()
-
-// CHECK: error: only definitions can have unnamed_addr
-// CHECK: declare unnamed_addr i32 @zed()
-// CHECK: ^
diff --git a/test/Assembler/external-unnamed-addr.ll b/test/Assembler/external-unnamed-addr.ll
deleted file mode 100644
index 856f592e80..0000000000
--- a/test/Assembler/external-unnamed-addr.ll
+++ /dev/null
@@ -1,8 +0,0 @@
-; RUN: not llvm-as %s -o /dev/null 2>%t
-; RUN: FileCheck -input-file=%t %s
-
-@foo = external unnamed_addr global i8*
-
-// CHECK: error: only definitions can have unnamed_addr
-// CHECK: @foo = external unnamed_addr global i8*
-// CHECK: ^