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
2007-05-25 Douglas Gregor <doug.gregor@gmail.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
temp_default3.C
1
// { dg-options "-std=c++0x" }
2
3
template<typename T, typename U = typename T::value_type>
4
void f(T);
5
6
void f(...);
7
8
struct X {
9
typedef int value_type;
10
};
11
12
void g()
13
{
14
f(X()); // okay
15
f(17); // okay?
16
}