summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc-obj-c++-shared/nsconstantstring-class-impl.mm
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/objc-obj-c++-shared/nsconstantstring-class-impl.mm')
-rw-r--r--gcc/testsuite/objc-obj-c++-shared/nsconstantstring-class-impl.mm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/objc-obj-c++-shared/nsconstantstring-class-impl.mm b/gcc/testsuite/objc-obj-c++-shared/nsconstantstring-class-impl.mm
new file mode 100644
index 000000000..cd9c7dd8f
--- /dev/null
+++ b/gcc/testsuite/objc-obj-c++-shared/nsconstantstring-class-impl.mm
@@ -0,0 +1,3 @@
+/* Allow code to be shared between the FEs but avoid issues with
+ C++-only flags. */
+#include "nsconstantstring-class-impl.h"