clang/test/ASTMerge/asm/test.cpp
raw| 1 | // RUN: %clang_cc1 -triple i386-unknown-unknown -fcxx-exceptions -emit-pch -o %t.1.ast %S/Inputs/asm-function.cpp |
| 2 | // RUN: %clang_cc1 -triple i386-unknown-unknown -fcxx-exceptions -ast-merge %t.1.ast -fsyntax-only -verify %s |
| 3 | // expected-no-diagnostics |
| 4 | |
| 5 | void testAsmImport() { |
| 6 | asmFunc(12, 42); |
| 7 | asmFunc2(42); |
| 8 | } |