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
2011-10-16 Janus Weil <janus@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr48522.C
1
// { dg-options "-std=c++0x" }
2
3
template <typename T>
4
struct Handle
5
{
6
Handle(T& t);
7
};
8
9
template<class T>
10
struct Class {
11
struct Struct {} data;
12
void f();
13
void g();
14
};
15
16
template<class T>
17
void Class<T>::f() {
18
Handle< decltype((data)) > handle(data);
19
}
20
21
template<class T>
22
void Class<T>::g() {
23
Handle< decltype((data)) > handle(data);
24
}