~mmach/netext73/mesa-haswell

« back to all changes in this revision

Viewing changes to src/compiler/glsl/glcpp/tests/065-if-defined-parens.c

  • Committer: mmach
  • Date: 2022-09-22 19:56:13 UTC
  • Revision ID: netbit73@gmail.com-20220922195613-wtik9mmy20tmor0i
2022-09-22 21:17:09

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#if defined(foo)
2
 
failure_1
3
 
#else
4
 
success_1
5
 
#endif
6
 
#define foo
7
 
#if defined ( foo )
8
 
success_2
9
 
#else
10
 
failure_2
11
 
#endif
12
 
#undef foo
13
 
#if defined (foo)
14
 
failure_3
15
 
#else
16
 
success_3
17
 
#endif