зеркало из https://github.com/microsoft/clang-1.git
11 строки
219 B
Mathematica
11 строки
219 B
Mathematica
|
// 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}}
|
||
|
}
|
||
|
|