repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
Modules
/
misplaced-3.cpp
blob
6d18e13ecbf6b69fd1721391500e9fe583c18a18
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
}