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
Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb87.C
1
// { dg-do assemble }
2
template <unsigned X, class T> struct Foo {
3
friend void operator<<(int, Foo const &) {}
4
};
5
template <unsigned X> class Bar : public Foo<X,int> {};
6
inline Bar<0> bar(int,int,int) { return Bar<3>(); } // { dg-error "" } no conversion
7