summaryrefslogtreecommitdiff
path: root/tests/099-c99-example.c.expected
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-06-02 15:59:45 -0700
committerCarl Worth <cworth@cworth.org>2010-06-02 15:59:45 -0700
commit5ae88af9886b4b7bf486cbc0d10a9bab6456165f (patch)
treef3d1bc0b6b4efaa9fc164ec17bb1c76aa2f7bd45 /tests/099-c99-example.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/099-c99-example.c.expected')
-rw-r--r--tests/099-c99-example.c.expected16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/099-c99-example.c.expected b/tests/099-c99-example.c.expected
new file mode 100644
index 0000000000..352bbff48f
--- /dev/null
+++ b/tests/099-c99-example.c.expected
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+f(2 * (y+1)) + f(2 * (f(2 * (z[0])))) % f(2 * (0)) + t(1);
+f(2 * (2 +(3,4)-0,1)) | f(2 * (~ 5)) & f(2 * (0,1))^m(0,1);
+int i[] = { 1, 23, 4, 5, };