1#version 400
2
3void foo() { terminateInvocation; } // ERROR: identifier undeclared
4
5#extension GL_EXT_terminate_invocation : enable
6
7void main()
8{
9    terminateInvocation;  // ERROR: wrong stage
10}
11