diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2010-06-18 15:34:50 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2010-06-21 12:31:04 -0700 |
commit | 214632f527c2698602580038763ec72154ca2109 (patch) | |
tree | 70f63c8ee1cba7ec12ada87ac054f10973139757 | |
parent | 8f322216382e2f017b4f3adefd441f84f45b0249 (diff) |
glcpp/tests: Add a test for #version followed by #define.
This isn't really a C file, but...that's probably okay.
-rw-r--r-- | glcpp/tests/064-version.c | 2 | ||||
-rw-r--r-- | glcpp/tests/064-version.c.expected | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/glcpp/tests/064-version.c b/glcpp/tests/064-version.c new file mode 100644 index 0000000000..21326481b8 --- /dev/null +++ b/glcpp/tests/064-version.c @@ -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 index 0000000000..3af71113c8 --- /dev/null +++ b/glcpp/tests/064-version.c.expected @@ -0,0 +1,3 @@ +#version 130 + + |