repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
Parser
/
check-objc2-syntax-1.m
blob
364f826776c81747f4366bbdaa64001c963cf6ce
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
// rdar://15505492
4
@import Foundation; // expected-error {{use of '@import' when modules are disabled}}
5
6
@interface Subclass
7
+ (int)magicNumber;
8
@end
9
10
int main (void) {
11
return Subclass.magicNumber;
12
}
13