comparison clang/test/Modules/misplaced-3.cpp @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
comparison
equal deleted inserted replaced
147:c2174574ed3a 150:1d019706d866
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs %s -verify
3
4 class C1 { // expected-note{{'C1' begins here}}
5 #include "dummy.h" // expected-error{{import of module 'dummy' appears within 'C1'}}
6 }