Debian Codegraph @

gcc/testsuite/g++.dg/modules/dguide-6_c.C

raw
1 // { dg-additional-options "-fmodules" }
2
3 #include "dguide-6.h"
4 import M;
5
6 int main() {
7 S a(1);
8 S<int> a_copy = a;
9
10 S b(2, 3);
11 S<double> b_copy = b;
12 }