Revision 39fb45484996f9d71b6551239dbf55eaaaf8db1f authored by Theresa Foley on 17 May 2022, 17:56:36 UTC, committed by GitHub on 17 May 2022, 17:56:36 UTC
Checking in more in-progress proposals in the hopes of sparking discussion and/or guiding future implementation work.
1 parent 5a3aa61
Raw File
ifdef.slang
//TEST:SIMPLE:
// #ifdef support

#define A

#ifdef A
int foo() { return 0; }
#else
BadThing thatWontCompile;
#endif

#ifdef BadThing
AnotherError onThisLine;
#else
int bar() { return foo(); }
#endif
back to top