Serge Pavlov | c4e04a2 | 2015-09-19 05:32:57 +0000 | [diff] [blame] | 1 | // RUN: rm -rf %t |
2 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs %s -verify | ||||
3 | |||||
4 | void func1() { // expected-note{{function 'func1' begins here}} | ||||
5 | #include "dummy.h" // expected-error{{import of module 'dummy' appears within function 'func1'}} | ||||
6 | } |