aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/concepts-partial-spec3.C
blob: 2970af100f98dac7df0e3b5078cedd0bdcf35296 (plain)
1
2
3
4
5
6
7
8
// { dg-do compile { target c++17 } }
// { dg-additional-options "-fconcepts" }

template <class T> struct A { };
template <class T> requires false struct A<T*> { };
template <class T> struct A<T*> { static int i; };

int i = A<int*>::i;