summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/pragma-1.m
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/objc.dg/pragma-1.m')
-rw-r--r--gcc/testsuite/objc.dg/pragma-1.m7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/objc.dg/pragma-1.m b/gcc/testsuite/objc.dg/pragma-1.m
new file mode 100644
index 000000000..e9527e39e
--- /dev/null
+++ b/gcc/testsuite/objc.dg/pragma-1.m
@@ -0,0 +1,7 @@
+/* { dg-do compile } */
+/* ??? Is there a better pragma that is handled for all targets, not
+ handled by the preprocessor, that would be better for testing here? */
+
+@interface a {}
+#pragma mark --- Output ---
+@end