summaryrefslogtreecommitdiffstats
path: root/test/FrontendC/inline-asm-function.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendC/inline-asm-function.c')
-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..e584840
--- /dev/null
+++ b/test/FrontendC/inline-asm-function.c
@@ -0,0 +1,6 @@
+// RUN: %llvmgcc -S %s -fasm-blocks -o - -O | grep naked
+// 7533078 (partial).
+
+asm int f() {
+ xyz
+}
OpenPOWER on IntegriCloud