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
2017-06-14 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
nontype5.C
blob
f7b76259bbc384f6e97afe1c3829e4240eb74ca2
1
// { dg-do compile }
2
3
// Origin: Ivan Godard <igodard@pacbell.net>
4
// Volker Reichelt <reichelt@gcc.gnu.org>
5
6
// PR c++/13797: ICE invalid nontype template parameter
7
8
template <int> struct A
9
{
10
typedef A<0> B;
11
template <B> struct C {}; // { dg-error "not a valid type" }
12
};
13
14
A<0> a;