aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/083.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/083.sh b/tests/083.sh
new file mode 100644
index 0000000..8047f1f
--- /dev/null
+++ b/tests/083.sh
@@ -0,0 +1,11 @@
+set -e
+
+cat <<'EOF' > expected
+main.c:1: unknown preprocessor directive (foo (<identifier>))
+EOF
+
+bash ../../test_compile_error.sh <<'EOF'
+#foo
+
+int main() {}
+EOF