Clang Project

clang_source_code/test/PCH/asm.c
1// REQUIRES: x86-registered-target
2// Test this without pch.
3// RUN: %clang_cc1 -triple i386-unknown-unknown -include %S/asm.h -fsyntax-only -verify %s
4
5// Test with pch.
6// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-pch -o %t %S/asm.h
7// RUN: %clang_cc1 -triple i386-unknown-unknown -include-pch %t -fsyntax-only -verify %s 
8
9// expected-no-diagnostics
10
11void call_f(void) { f(); }
12
13void call_clobbers(void) { clobbers(); }
14