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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.law
/
arg3.C
blob
bbaf47012bec92fa211f9893e1e08e7c1f22bdb9
1
// { dg-do assemble }
2
// GROUPS passed arg-matching
3
typedef void* Ptr;
4
5
6
void func(int, const Ptr& p);
7
8
template <class T> void func(T, const Ptr& p);
9
10
11
Ptr& return_ref();
12
13
14
int main()
15
{
16
char* x;
17
18
func(x,return_ref()); // bug:
19
// call of func(int, const Ptr&)
20
// instead of func(char*,const Ptr&)
21
22
}