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
include-search-path.slang
//TEST:SIMPLE: -Itests/preprocessor/include
// #include support

int foo() { return 0; }

#include "pragma-once-c.h"

// If include worked this will be defined
#ifndef ONLY_DEFINED_ONCE_C
// And so hitting this indicates and error (and will fail as bar isn't defined)
int baz() { return bar(); }
#endif

back to top