llvm-mirror/test/LLVMC/include.c
Daniel Dunbar 60f1563256 LLVMC2: Teach llvm_gcc_c tool about -include and -fsyntax-only.
- Only focusing on llvm_gcc_c for now, eventually this needs to be
   refactored so it can be shared via all the gcc-like tools.

llvm-svn: 59582
2008-11-19 02:59:00 +00:00

10 lines
162 B
C

/*
* Check that the 'include' options work.
* RUN: echo "int x;\n" > %t1.inc
* RUN: llvmc2 -include %t1.inc -fsyntax-only %s
*/
int f0(void) {
return x;
}