ARB_ubo/referenced-by-shader: pass if shader compiler moves UBOs between shaders
[piglit.git] / tests / spec / glsl-1.10 / preprocessor / if-statement-in-macro-in-false-ifdef.vert
blob938fe31f825a8a55da5bec8efe7048839d46475f
1 // [config]
2 // expect_result: pass
3 // glsl_version: 1.10
4 // [end config]
5 //
6 // Reproduces https://bugs.freedesktop.org/show_bug.cgi?id=107772
8 #version 110
10 #ifdef NOT_DEFINED
11 #define A_MACRO(x) \
12         if (x)
13 #endif
15 void main()
17     gl_Position = vec4(0);