Test for llvm-gcc checkin 102543.
authorDale Johannesen <dalej@apple.com>
Wed, 28 Apr 2010 22:17:33 +0000 (22:17 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 28 Apr 2010 22:17:33 +0000 (22:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102544 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendC/inline-asm-function.c [new file with mode: 0644]

diff --git a/test/FrontendC/inline-asm-function.c b/test/FrontendC/inline-asm-function.c
new file mode 100644 (file)
index 0000000..b1ce79a
--- /dev/null
@@ -0,0 +1,6 @@
+// RUN: %llvmgcc -S %s -fasm-blocks -o - -O | grep naked
+// PR2094
+
+asm int f() {
+  xyz
+}