☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
modules
/
auto-8_b.C
☽
☼
gcc/testsuite/g++.dg/modules/auto-8_b.C
code
plain
raw
1
// PR c++/124735
2
// { dg-additional-options "-fmodules" }
3
4
struct S {
5
auto foo();
6
};
7
8
auto S::foo() { return 123; }
9
auto pfn = &S::foo;
10
11
import "auto-8_a.H";
12
13
int main() {
14
return S{}.foo() != 123;
15
}