diff options
Diffstat (limited to 'test/Frontend/stdin2.c')
-rw-r--r-- | test/Frontend/stdin2.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Frontend/stdin2.c b/test/Frontend/stdin2.c new file mode 100644 index 0000000000..5a615e572c --- /dev/null +++ b/test/Frontend/stdin2.c @@ -0,0 +1,11 @@ +// RUN: cd %S && %clang_cc1 -E - < stdin2.c + +/* + * Bug 4897; current working directory should be searched + * for #includes when input is stdin. + */ + +#ifndef BUG_4897 +#define BUG_4897 +#include "stdin2.c" +#endif |