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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
typeof4.C
blob
2f4237035147dc989e30b86c939b0c6192ac6d34
1
// { dg-do compile }
2
// { dg-options "" }
3
4
// Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
5
6
// PR c++/9459: typeof in return type of template function
7
8
void foo (int) {}
9
void foo (double) {}
10
11
template <typename C>
12
typeof(foo(1))
13
bar () { return foo(1); }