☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nontype7.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/nontype7.C
code
plain
raw
1
// PR c++/118632
2
// { dg-do compile { target c++11 } }
3
4
template<class T, T* = nullptr>
5
class Matrix {};
6
7
template<class T>
8
void operator*(Matrix<T>, int);
9
10
int main() {
11
Matrix<int> m;
12
m * 42;
13
}