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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
const3.C
blob
998b6976e421c3089b9eb8b34d7dd1c146b4798c
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