Richard Smith | 50996ce | 2014-04-08 13:13:04 +0000 | [diff] [blame] | 1 | // RUN: rm -rf %t |
Richard Smith | 47972af | 2015-06-16 00:08:24 +0000 | [diff] [blame] | 2 | // RUN: %clang_cc1 -x objective-c -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs/exclude-header %s -verify |
Richard Smith | 50996ce | 2014-04-08 13:13:04 +0000 | [diff] [blame] | 3 | |
4 | @import x; | ||||
5 | |||||
6 | a var_a; | ||||
7 | b var_b1; // expected-error {{unknown type name 'b'}} | ||||
8 | |||||
9 | @import y; | ||||
10 | |||||
11 | b var_b2; |