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

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: rm -rf %t
anatofuz
parents:
diff changeset
2 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs %s -verify
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 class C1 { // expected-note{{'C1' begins here}}
anatofuz
parents:
diff changeset
5 #include "dummy.h" // expected-error{{import of module 'dummy' appears within 'C1'}}
anatofuz
parents:
diff changeset
6 }