summaryrefslogtreecommitdiff
path: root/tests/diagnostics/undefined-in-preprocessor-conditional.slang
blob: d46c68d336da6d84f30a9a26af634c5fdafe5bb0 (plain)
1
2
3
4
5
6
7
8
9
10
//TEST(smoke):SIMPLE:

// Use an undefined identifier in a preprocessor conditional

#define FOO  1
#define BORT 1

#if FOO && BART
#error Should not get here
#endif