aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-04-28 22:17:33 +0000
committerDale Johannesen <dalej@apple.com>2010-04-28 22:17:33 +0000
commit21a9bd91e91c487d7833b6eb0693be0eca176ecc (patch)
treeafd5536e122fea57ef78972911b38c024bac5b8e /test/FrontendC
parentb8485d69c10415c1784d429ebac504b9a34a45a2 (diff)
downloadexternal_llvm-21a9bd91e91c487d7833b6eb0693be0eca176ecc.zip
external_llvm-21a9bd91e91c487d7833b6eb0693be0eca176ecc.tar.gz
external_llvm-21a9bd91e91c487d7833b6eb0693be0eca176ecc.tar.bz2
Test for llvm-gcc checkin 102543.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102544 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC')
-rw-r--r--test/FrontendC/inline-asm-function.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/FrontendC/inline-asm-function.c b/test/FrontendC/inline-asm-function.c
new file mode 100644
index 0000000..b1ce79a
--- /dev/null
+++ b/test/FrontendC/inline-asm-function.c
@@ -0,0 +1,6 @@
+// RUN: %llvmgcc -S %s -fasm-blocks -o - -O | grep naked
+// PR2094
+
+asm int f() {
+ xyz
+}