aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/obj-c++.dg/pr45735.mm
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/obj-c++.dg/pr45735.mm')
-rw-r--r--gcc-4.9/gcc/testsuite/obj-c++.dg/pr45735.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/obj-c++.dg/pr45735.mm b/gcc-4.9/gcc/testsuite/obj-c++.dg/pr45735.mm
new file mode 100644
index 000000000..395698bdb
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/obj-c++.dg/pr45735.mm
@@ -0,0 +1,4 @@
+/* { dg-do compile } */
+@interface Fraction
+-(void) setNumerator: (int) :(int) ; /* { dg-error "expected identifier" } */
+@end