aboutsummaryrefslogtreecommitdiff
path: root/test/ASTMerge/asm/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/ASTMerge/asm/test.cpp')
-rw-r--r--test/ASTMerge/asm/test.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/ASTMerge/asm/test.cpp b/test/ASTMerge/asm/test.cpp
new file mode 100644
index 000000000000..3a0a205720fe
--- /dev/null
+++ b/test/ASTMerge/asm/test.cpp
@@ -0,0 +1,7 @@
+// RUN: %clang_cc1 -triple i386-unknown-unknown -fcxx-exceptions -emit-pch -o %t.1.ast %S/Inputs/asm-function.cpp
+// RUN: %clang_cc1 -triple i386-unknown-unknown -fcxx-exceptions -ast-merge %t.1.ast -fsyntax-only -verify %s
+// expected-no-diagnostics
+
+void testAsmImport() {
+ asmFunc(12, 42);
+}