☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
Parser
/
check-objc2-syntax-1.m
☽
☼
clang/test/Parser/check-objc2-syntax-1.m
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
@import Foundation; // expected-error {{use of '@import' when modules are disabled}}
4
5
@interface Subclass
6
+ (int)magicNumber;
7
@end
8
9
int main (void) {
10
return Subclass.magicNumber;
11
}
12