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
/
crash85.C
blob
e0b6ee19881e3a9655d54ef9edf435de2c7f0f52
1
// Contributed by Dodji Seketeli <dodji@redhat.com>
2
// Origin: PR c++/37142
3
// { dg-do compile }
4
5
template<typename T, const T a, template <typename U, U u> class W> struct A {};
6
7
template<typename T, const T t> struct B {};
8
9
int
10
main ()
11
{
12
A<long, 0, B> a;
13
return 0;
14
}
15