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
[lldb] Constify methods in CommandReturnObject (NFC)
[llvm-project.git]
/
clang
/
test
/
CXX
/
module
/
module.unit
/
p7
/
t6.cpp
blob
bcc29d9ba25e09d0fa4c8521d6a4051538246282
1
// RUN: rm -fr %t
2
// RUN: mkdir %t
3
// RUN: %clang_cc1 -std=c++20 -emit-module-interface %S/Inputs/CPP.cppm -I%S/Inputs -o %t/X.pcm
4
// RUN: %clang_cc1 -std=c++20 -fprebuilt-module-path=%t %s -verify
5
// expected-no-diagnostics
6
module
;
7
#include
"Inputs/h2.h"
8
export module use
;
9
import X
;
10
void
printX
(
CPP
*
cpp
) {
11
cpp
->
print
();
12
}