☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
sizeof12.C
☽
☼
gcc/testsuite/g++.dg/template/sizeof12.C
code
plain
raw
1
// Contributed by Dodji Seketeli <
[email protected]
>
2
// Origin PR c++/41863
3
4
template<int X>
5
struct Bar
6
{
7
};
8
9
template<typename T>
10
class Foo
11
{
12
T m_foo;
13
14
void
15
crash()
16
{
17
Bar<sizeof(m_foo)> bar;
18
}
19
};