Reorganize test files.
This commit is contained in:
5
tests/ModuleScanner/A.cppm
Normal file
5
tests/ModuleScanner/A.cppm
Normal file
@@ -0,0 +1,5 @@
|
||||
export module A;
|
||||
|
||||
export int f() {
|
||||
return 42;
|
||||
}
|
||||
3
tests/ModuleScanner/B.cppm
Normal file
3
tests/ModuleScanner/B.cppm
Normal file
@@ -0,0 +1,3 @@
|
||||
export module B;
|
||||
|
||||
import A;
|
||||
3
tests/ModuleScanner/C.cppm
Normal file
3
tests/ModuleScanner/C.cppm
Normal file
@@ -0,0 +1,3 @@
|
||||
export module C;
|
||||
|
||||
import A;
|
||||
7
tests/ModuleScanner/D.cppm
Normal file
7
tests/ModuleScanner/D.cppm
Normal file
@@ -0,0 +1,7 @@
|
||||
import B;
|
||||
import C;
|
||||
|
||||
int main() {
|
||||
int x = 42;
|
||||
return 42;
|
||||
}
|
||||
Reference in New Issue
Block a user