summaryrefslogtreecommitdiffstats
path: root/clang/test/ASTMerge/asm/test.cpp
blob: 8c3bdfe17b75b42e8ee659382271e8a66e7ebfa3 (plain)
1
2
3
4
5
6
7
8
// 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);
}
OpenPOWER on IntegriCloud