llvm-for-llvmta/tools/clang/test/ASTMerge/asm/test.cpp

9 lines
312 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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);
asmFunc2(42);
}