aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/obj-c++.dg/syntax-error-5.mm
blob: f0d06052081de65a75dd3cc62d67da2a9fa22f3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */

typedef struct S { int i; } NSDictionary;

@interface A 
{
}
@end

@interface B : A
{
    NSDictionary * _userInfo;
@end				/* { dg-error "expected .\}. before .end."  } */