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