Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
d98aab5a7ed06af779fdafa293b0df44ce8606dc
/
.
/
test
/
Parser
/
check-objc2-syntax-1.m
blob: b0b0e8a35e36973de27eadf6553c4e81cf119379 [
file
] [
log
] [
blame
]
// RUN: clang -fsyntax-only -verify %s
@interface
Subclass
+
(
int
)
magicNumber
;
@end
int
main
(
void
)
{
return
Subclass
.
magicNumber
;
// expected-error {{unexpected interface name 'Subclass': expected expression}}
}