aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/083.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/083.sh b/tests/083.sh
index 8047f1f..1d95dae 100644
--- a/tests/083.sh
+++ b/tests/083.sh
@@ -9,3 +9,13 @@ bash ../../test_compile_error.sh <<'EOF'
int main() {}
EOF
+
+cat <<'EOF' > expected
+main.c:1: unknown preprocessor directive (bar (<identifier>))
+EOF
+
+bash ../../test_compile_error.sh <<'EOF'
+# bar 1 2 3
+
+int main() {}
+EOF