--- /dev/null
+#version 130
+/* FAIL - inout only allowed in parameter list */
+inout vec4 foo;
--- /dev/null
+/* FAIL - in only allowed in parameter list in GLSL 1.10 */
+in foo;
--- /dev/null
+/* FAIL - out only allowed in parameter list in GLSL 1.10 */
+out vec4 foo;
--- /dev/null
+#version 130
+/* PASS */
+in vec4 foo;
--- /dev/null
+#version 130
+/* PASS */
+out vec4 foo;
--- /dev/null
+/* FAIL - in only allowed in parameter list in GLSL 1.10 */
+void main()
+{
+ in vec4 foo;
+
+ gl_Position = gl_Vertex;
+}
--- /dev/null
+/* FAIL - out only allowed in parameter list in GLSL 1.10 */
+void main()
+{
+ out vec4 foo;
+
+ gl_Position = gl_Vertex;
+}