☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
modules
/
auto-4_b.C
☽
☼
gcc/testsuite/g++.dg/modules/auto-4_b.C
code
plain
raw
1
// PR c++/114795
2
// { dg-additional-options "-fmodules-ts -fno-module-lazy" }
3
4
template<class T>
5
struct A {
6
auto f() { return T(); }
7
};
8
9
A<int> a;
10
11
import "auto-4_a.H";
12
13
int main() {
14
g<int>(); // { dg-bogus "before deduction of 'auto'" "" { target *-*-* } 0 }
15
}