repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
re PR c++/67184 (Missed optimization with C++11 final specifier)
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
crash-10.C
blob
6dcd79149e1508a3520ac0d678d41eab699095f5
1
// Origin: PR c++/43327
2
// { dg-do compile }
3
4
template <typename _T>
5
struct A
6
{
7
template <int _N, int _M> struct B;
8
9
template <int _N>
10
struct B<_N, _T::m>
11
{
12
static void f();
13
};
14
};
15
16
struct C
17
{
18
static const int m = 4;
19
};
20
21
void m()
22
{
23
A<C>::B<1, 4>::f();
24
}