glcpp/tests: Add a test for #version followed by #define.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 18 Jun 2010 22:34:50 +0000 (15:34 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 21 Jun 2010 19:31:04 +0000 (12:31 -0700)
This isn't really a C file, but...that's probably okay.

glcpp/tests/064-version.c [new file with mode: 0644]
glcpp/tests/064-version.c.expected [new file with mode: 0644]

diff --git a/glcpp/tests/064-version.c b/glcpp/tests/064-version.c
new file mode 100644 (file)
index 0000000..2132648
--- /dev/null
@@ -0,0 +1,2 @@
+#version 130
+#define FOO
diff --git a/glcpp/tests/064-version.c.expected b/glcpp/tests/064-version.c.expected
new file mode 100644 (file)
index 0000000..3af7111
--- /dev/null
@@ -0,0 +1,3 @@
+#version 130
+
+