☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
var-templ51.C
☽
☼
gcc/testsuite/g++.dg/cpp1y/var-templ51.C
code
plain
raw
1
// PR c++/60095
2
// { dg-do link { target c++14 } }
3
4
template <class>
5
constexpr bool b = false;
6
template<typename T>
7
constexpr bool b<T*> = true;
8
int main() {
9
b<int*>;
10
b<double*>;
11
}