Debian Codegraph @

Tests/RunCMake/CpsMapConfig/test.cpp

raw
1 #define _STR(x) #x
2 #define STR(x) _STR(x)
3
4 enum vocalization
5 {
6 meow, // tame cat
7 roar, // wild cat
8 whine, // tame dog
9 growl // wild dog
10 };
11
12 #if __cplusplus >= 201103L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201103L)
13 static_assert(NOISE == EXPECTED,
14 "expected " STR(EXPECTED) ", got " STR(NOISE));
15 #else
16 typedef int test[(NOISE == EXPECTED) ? 1 : -1];
17 #endif
18
19 int main()
20 {
21 return 0;
22 }