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
10int main (void) {
11  return Subclass.magicNumber;
12}
13
14