check-objc2-syntax-1.m 249 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 // RUN: %clang_cc1 -fsyntax-only -verify %s // rdar://15505492 @import Foundation; // expected-error {{use of '@import' when modules are disabled}} @interface Subclass + (int)magicNumber; @end int main (void) { return Subclass.magicNumber; }