repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
const3.C
blob
5ef27315a51b862449d9374029de846ddaac07e3
1
// Contributed by Dodji Seketeli <dodji@redhat.com>
2
// Origin PR c++/42251
3
// { dg-do "compile" }
4
5
struct foo
6
{
7
static const bool b = false;
8
};
9
10
template<bool x>
11
struct S1
12
{
13
};
14
15
template<bool x>
16
struct S2
17
: S1<foo::b>
18
{
19
};
20