Cross Reference: 067-nested-ifdef-ifndef.c
xref: /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/glcpp/tests/067-nested-ifdef-ifndef.c
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/glcpp/tests/
1b8e80941Smrg#define D1
2b8e80941Smrg#define D2
3b8e80941Smrg
4b8e80941Smrg#define result success
5b8e80941Smrg
6b8e80941Smrg#ifdef U1
7b8e80941Smrg#ifdef U2
8b8e80941Smrg#undef result
9b8e80941Smrg#define result failure
10b8e80941Smrg#endif
11b8e80941Smrg#endif
12b8e80941Smrgresult
13b8e80941Smrg
14b8e80941Smrg#ifndef D1
15b8e80941Smrg#ifndef D2
16b8e80941Smrg#undef result
17b8e80941Smrg#define result failure
18b8e80941Smrg#endif
19b8e80941Smrg#endif
20b8e80941Smrgresult
21b8e80941Smrg
22b8e80941Smrg#undef result
23b8e80941Smrg#define result failure
24b8e80941Smrg#ifdef D1
25b8e80941Smrg#ifdef D2
26b8e80941Smrg#undef result
27b8e80941Smrg#define result success
28b8e80941Smrg#endif
29b8e80941Smrg#endif
30b8e80941Smrgresult
31b8e80941Smrg
32b8e80941Smrg#undef result
33b8e80941Smrg#define result failure
34b8e80941Smrg#ifndef U1
35b8e80941Smrg#ifndef U2
36b8e80941Smrg#undef result
37b8e80941Smrg#define result success
38b8e80941Smrg#endif
39b8e80941Smrg#endif
40b8e80941Smrgresult
41

Indexes created Sun Nov 30 02:09:33 GMT 2025