summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TIClang/module.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/TIClang/module.h')
-rw-r--r--Tests/RunCMake/TIClang/module.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/RunCMake/TIClang/module.h b/Tests/RunCMake/TIClang/module.h
new file mode 100644
index 0000000..a8a85a6
--- /dev/null
+++ b/Tests/RunCMake/TIClang/module.h
@@ -0,0 +1,12 @@
+#ifndef __MODULE_H__
+#define __MODULE_H__
+
+#if defined(__cplusplus)
+# define INTERNAL 64
+#elif !defined(__cplusplus)
+# define INTERNAL 32
+#else
+# error "Unable to determine INTERNAL symbol."
+#endif
+
+#endif /* __MODULE_H__ */