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
* doc/invoke.texi: Document -std=c++17 and -std=gnu++17 and document
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
partial-spec3.C
blob
2ac5b9818e5fc4db7297aacae6c24154f12b2cb6
1
// { dg-options "-std=c++17 -fconcepts" }
2
3
template <class T> struct A { };
4
template <class T> requires false struct A<T*> { };
5
template <class T> struct A<T*> { static int i; };
6
7
int i = A<int*>::i;