repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
RISC-V: Support IMM for operand 0 of ussub pattern
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memclass6.C
blob
b462b920ff32225d8aa30439386076f91bc7f924
1
// { dg-do run }
2
// Compiler: egcs-2.91.12 980302
3
// Error: compiler error in ctor of 'foo::bar<T>::bar(T const &)'
4
5
struct foo
6
{
7
template <typename T>
8
struct bar
9
{
10
bar(T const &t) : tt(t) {}
11
T tt;
12
};
13
};
14
15
int main()
16
{
17
foo::bar<int> fb(3);
18
return 0;
19
}