diff options
Diffstat (limited to 'tests/test_keywords.sh')
| -rw-r--r-- | tests/test_keywords.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test_keywords.sh b/tests/test_keywords.sh new file mode 100644 index 0000000..1b99b67 --- /dev/null +++ b/tests/test_keywords.sh @@ -0,0 +1,9 @@ +touch expected +test_diff <<'EOF' +// A keyword is treated as a normal identifier in preprocessing phase. +#define auto int + +auto printf(); +auto main() {} +EOF + |
