repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
overload
/
koenig2.C
blob
f35aa1a31b63fb79f49347e796db5854c24a7013
1
// Copyright (C) 2005 Free Software Foundation, Inc.
2
// Contributed by Nathan Sidwell 18 Oct 2005 <nathan@codesourcery.com>
3
4
// PR 21383
5
// Origin: Matthew Hall <mahall@ncsa.uiuc.edu>
6
7
template <class T>
8
void dummy(T& t);
9
10
void anyfunc(int x);
11
12
void Foo ()
13
{
14
anyfunc (&dummy<>); // { dg-error "cannot resolve overload" "" }
15
}