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] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
Parser
/
check-objc2-syntax-1.m
blob
5a08cd853848def4fcf4c915275089e79816f026
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