diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/preprocessor/include-angle-bracket.slang | 8 | ||||
| -rw-r--r-- | tests/preprocessor/include/include-pragma-once-c.h | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/tests/preprocessor/include-angle-bracket.slang b/tests/preprocessor/include-angle-bracket.slang new file mode 100644 index 000000000..4b89387d4 --- /dev/null +++ b/tests/preprocessor/include-angle-bracket.slang @@ -0,0 +1,8 @@ +//TEST:SIMPLE: +// #include support + +int foo() { return 0; } + +#include <include-a.slang.h> + +int baz() { return bar(); }
\ No newline at end of file diff --git a/tests/preprocessor/include/include-pragma-once-c.h b/tests/preprocessor/include/include-pragma-once-c.h index 5c07d2846..2577591fc 100644 --- a/tests/preprocessor/include/include-pragma-once-c.h +++ b/tests/preprocessor/include/include-pragma-once-c.h @@ -2,4 +2,4 @@ #pragma once -#include "pragma-once-c.h"
\ No newline at end of file +#include "pragma-once-c.h" |
