aboutsummaryrefslogtreecommitdiff
path: root/tests/glslparsertest/glsl2/preprocessor-01.frag
blob: a8bc55d512d4ab0ca74b83841590eb951d415183 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// [config]
// expect_result: pass
// glsl_version: 1.10
//
// # NOTE: Config section was auto-generated from file
// # NOTE: 'glslparser.tests' at git revision
// # NOTE: 6cc17ae70b70d150aa1751f8e28db7b2a9bd50f0
// [end config]

/* PASS
 *
 * Test submitted by Thomas Jones (thomas.jones 'at' utoronto 'dot' ca) on
 * mesa-dev mailing list.
 */

#ifdef FOO
#if FOO == 4
#elif SAMP == 5
#endif
#endif
void main()  { gl_FragData[0] = vec4(0);}