summaryrefslogtreecommitdiffstats
path: root/Tests/Objective-C/c-file-extension-test/main.m
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Objective-C/c-file-extension-test/main.m')
-rw-r--r--Tests/Objective-C/c-file-extension-test/main.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/Objective-C/c-file-extension-test/main.m b/Tests/Objective-C/c-file-extension-test/main.m
new file mode 100644
index 0000000..1c159a9
--- /dev/null
+++ b/Tests/Objective-C/c-file-extension-test/main.m
@@ -0,0 +1,8 @@
+#ifndef __OBJC__
+# error "Compiler cannot compile Objective-C"
+#endif
+
+int main()
+{
+ return 0;
+}