--- /dev/null
+#pragma MSP stage(vertex)
+layout(location=0) in vec4 position;
+float func()
+{
+ return 3.0;
+}
+void main()
+{
+ gl_Position = position;
+}
+
+/* Expected output: vertex
+layout(location=0) in vec4 position;
+void main()
+{
+ gl_Position = position;
+}
+*/