summaryrefslogtreecommitdiffstats
path: root/tests/010-undef-re-define.c.expected
diff options
context:
space:
mode:
authorCarl Worth <[email protected]>2010-06-02 15:59:45 -0700
committerCarl Worth <[email protected]>2010-06-02 15:59:45 -0700
commit5ae88af9886b4b7bf486cbc0d10a9bab6456165f (patch)
treef3d1bc0b6b4efaa9fc164ec17bb1c76aa2f7bd45 /tests/010-undef-re-define.c.expected
parent14c98a56442a076a831aee85e9b3e54d934ec360 (diff)
test suite: Add expected output for every test.
Rather than using the (munged) output of "gcc -E" we now capture precisely the output we expect from every test case. This allows us to stay immune from strange output from gcc (unpredictable whitespace output---aprticularly with different gcc versions). This will also allow us to write tests that capture expected error messages from the preprocessor as well.
Diffstat (limited to 'tests/010-undef-re-define.c.expected')
-rw-r--r--tests/010-undef-re-define.c.expected6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/010-undef-re-define.c.expected b/tests/010-undef-re-define.c.expected
new file mode 100644
index 00000000000..5970f49028e
--- /dev/null
+++ b/tests/010-undef-re-define.c.expected
@@ -0,0 +1,6 @@
+
+1
+
+foo
+
+2