Add (negative) test for constructing samplers
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 24 Mar 2010 19:08:46 +0000 (12:08 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 24 Mar 2010 19:08:46 +0000 (12:08 -0700)
tests/constructor-02.glsl [new file with mode: 0644]

diff --git a/tests/constructor-02.glsl b/tests/constructor-02.glsl
new file mode 100644 (file)
index 0000000..47acbe9
--- /dev/null
@@ -0,0 +1,7 @@
+/* FAIL - cannot construct samplers */
+void main()
+{
+  int i;
+
+  i = sampler2D(0);
+}