Sign in
cobalt
/
cobalt
/
a3dd835b53c74ec0f3e791c01fbcde33bbf26c6d
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
Parser
/
check-objc2-syntax-1.m
blob: 364f826776c81747f4366bbdaa64001c963cf6ce [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// rdar://15505492
@import
Foundation
;
// expected-error {{use of '@import' when modules are disabled}}
@interface
Subclass
+
(
int
)
magicNumber
;
@end
int
main
(
void
)
{
return
Subclass
.
magicNumber
;
}