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
tree-optimization/116481 - avoid building function_type[]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
var-templ58.C
blob
f9095f61e67e29331ff8c7c27c17492859860954
1
// PR c++/71569
2
// { dg-do compile { target c++14 } }
3
4
template <class T>
5
struct A {
6
template <class U>
7
static const U u;
8
};
9
10
template <class T>
11
template <class U>
12
const U A<T>::u<U> = 0; // { dg-error "does not specialize" }