llvm-capstone/clang/test/Frontend/print-header-includes.c
Daniel Dunbar d435275c59 Frontend: Add basic -H support.
- I didn't implement the GCC "multiple include guard" detection parts, because
   it doesn't seem useful or obvious.

llvm-svn: 111983
2010-08-24 22:44:13 +00:00

9 lines
203 B
C

// RUN: %clang_cc1 -include Inputs/test3.h -E -H -o %t.out %s 2> %t.err
// RUN: FileCheck < %t.err %s
// CHECK-NOT: test3.h
// CHECK: . {{.*test.h}}
// CHECK: .. {{.*test2.h}}
#include "Inputs/test.h"