Add a testcase for the previous commit.
authorNadav Rotem <nrotem@apple.com>
Mon, 22 Oct 2012 18:16:55 +0000 (18:16 +0000)
committerNadav Rotem <nrotem@apple.com>
Mon, 22 Oct 2012 18:16:55 +0000 (18:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166425 91177308-0d34-0410-b5e6-96231b3b80d8

test/Feature/forceoptsize_attr.ll [new file with mode: 0644]

diff --git a/test/Feature/forceoptsize_attr.ll b/test/Feature/forceoptsize_attr.ll
new file mode 100644 (file)
index 0000000..89f2a5f
--- /dev/null
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s | llvm-dis | FileCheck %s
+
+define void @test1() forcesizeopt {
+; CHECK: define void @test1() forcesizeopt
+        ret void
+}
+