We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ce2e45 commit 0104a5bCopy full SHA for 0104a5b
tests/samples/Define.h
@@ -8,3 +8,13 @@
8
9
extern int a;
10
#define MY_A a // unsupported
11
+
12
+#ifdef NOT_DEFINED
13
+#define SHOULD_NOT_BE_DEFINED 0
14
+#endif
15
16
+#if INT == 0
17
+#define SHOULD_NOT_BE_DEFINED 1
18
+#else
19
+#define SHOULD_BE_DEFINED 2
20
tests/samples/Define.scala
@@ -7,4 +7,5 @@ object DefineDefines {
7
val STRING: native.CString = c"Hello, World!"
val INT = 42
val FLOAT = 5.6
+ val SHOULD_BE_DEFINED = 2
}
0 commit comments