Debian Codegraph @

gcc/testsuite/g++.dg/modules/auto-4_a.H

raw
1 // PR c++/114795
2 // { dg-additional-options "-fmodule-header" }
3 // { dg-module-cmi {} }
4
5 template<class T>
6 struct A {
7 auto f() { return T(); }
8 };
9
10 template<class T>
11 void g() {
12 A<int> a;
13 a.f();
14 }