blob: 99bc14dc2fb44e2355cb9717c5f7de598d11e6e7 [file] [log] [blame]
Douglas Gregorcd7d5a92009-04-17 20:57:14 +00001// Test this without pch.
Daniel Dunbara5728872009-12-15 20:14:24 +00002// RUN: %clang_cc1 -triple i386-unknown-unknown -include %S/asm.h -fsyntax-only -verify %s
Douglas Gregorcd7d5a92009-04-17 20:57:14 +00003
4// Test with pch.
Daniel Dunbara5728872009-12-15 20:14:24 +00005// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-pch -o %t %S/asm.h
6// RUN: %clang_cc1 -triple i386-unknown-unknown -include-pch %t -fsyntax-only -verify %s
Douglas Gregorcd7d5a92009-04-17 20:57:14 +00007
8
9void call_f(void) { f(); }
10
11void call_clobbers(void) { clobbers(); }