☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
pch
/
pr116847.Hs
☽
☼
gcc/testsuite/g++.dg/pch/pr116847.Hs
code
plain
raw
1
[[deprecated]] int foo () { return 42; }
2
template <int N>
3
struct S {
4
#pragma GCC diagnostic push
5
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
6
static int bar () { return foo (); }
7
#pragma GCC diagnostic pop
8
};