diff options
Diffstat (limited to 'tests/test_undef.sh')
| -rw-r--r-- | tests/test_undef.sh | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/tests/test_undef.sh b/tests/test_undef.sh index 34c3dad..27d03c6 100644 --- a/tests/test_undef.sh +++ b/tests/test_undef.sh @@ -1,9 +1,16 @@ cat <<'EOF' > expected -A is defined -A is undefined +int printf (); + +int main () { + + printf ( A is defined\n); + + + printf ( A is undefined\n); +} EOF -test_diff <<'EOF' +test_cpp <<'EOF' int printf(); int main() { @@ -24,4 +31,3 @@ int main() { #endif } EOF - |
