From 214632f527c2698602580038763ec72154ca2109 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 18 Jun 2010 15:34:50 -0700 Subject: [PATCH] glcpp/tests: Add a test for #version followed by #define. This isn't really a C file, but...that's probably okay. --- glcpp/tests/064-version.c | 2 ++ glcpp/tests/064-version.c.expected | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 glcpp/tests/064-version.c create mode 100644 glcpp/tests/064-version.c.expected diff --git a/glcpp/tests/064-version.c b/glcpp/tests/064-version.c new file mode 100644 index 00000000000..21326481b87 --- /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 00000000000..3af71113c8c --- /dev/null +++ b/glcpp/tests/064-version.c.expected @@ -0,0 +1,3 @@ +#version 130 + + -- 2.30.2