Debian Codegraph @

gcc/testsuite/g++.dg/modules/partial-8_a.C

raw
1 // PR c++/120013
2 // { dg-additional-options "-fmodules -Wno-global-module" }
3 // { dg-module-cmi m:a }
4
5 module;
6 #include "partial-8.h"
7 template <typename T> struct tuple_element<T*>;
8 template <typename T> constexpr int var<T*> = 456;
9 module m:a;
10 template <typename T> void a(T t) { ::get(t); foo(t); }