Andrew Top | 61a8495 | 2019-04-30 15:07:33 -0700 | [diff] [blame] | 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 |