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
* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
conv3.C
1
// { dg-do assemble }
2
// Origin: Chris Heath <cheath@math.lsa.umich.edu>
3
4
struct A {
5
template<typename T> explicit A(T t) {}
6
};
7
8
void f(A a) {}
9
10
int main() {f(1);} // { dg-error "" } no conversion from int to A.