OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/52685
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
param1.C
1
// PR c++/22233
2
// Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3
// { dg-do compile }
4
5
template<int> struct A // { dg-error "declaration" }
6
{
7
A();
8
};
9
10
template<int N, char> A<N>::A() {} // { dg-error "invalid use of incomplete type" }
11
12
A<0> a;