2015-07-08 09:00:30 +08:00
|
|
|
// REQUIRES: x86-registered-target
|
2009-04-18 04:57:14 +08:00
|
|
|
// Test this without pch.
|
2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -triple i386-unknown-unknown -include %S/asm.h -fsyntax-only -verify %s
|
2009-04-18 04:57:14 +08:00
|
|
|
|
|
|
|
// Test with pch.
|
2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-pch -o %t %S/asm.h
|
|
|
|
// RUN: %clang_cc1 -triple i386-unknown-unknown -include-pch %t -fsyntax-only -verify %s
|
2009-04-18 04:57:14 +08:00
|
|
|
|
2012-10-19 20:44:48 +08:00
|
|
|
// expected-no-diagnostics
|
2009-04-18 04:57:14 +08:00
|
|
|
|
|
|
|
void call_f(void) { f(); }
|
|
|
|
|
|
|
|
void call_clobbers(void) { clobbers(); }
|