diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/103.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/103.sh b/tests/103.sh new file mode 100644 index 0000000..f10d215 --- /dev/null +++ b/tests/103.sh @@ -0,0 +1,15 @@ +cat <<'EOF' > expected +main.c:1: foo +EOF +test_compile_error <<'EOF' +#error "foo" +EOF + +cat <<'EOF' > expected +EOF +test_diff <<'EOF' +#if 0 +#error "foo" +#endif +int main() {} +EOF |
