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
2012-12-15 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
access01.C
1
// PR c++/49042
2
// { dg-options -std=c++0x }
3
4
template <class T>
5
class A
6
{
7
T p;
8
public:
9
template <class U> auto f() -> decltype(+p) { }
10
};
11
12
int main()
13
{
14
A<int>().f<int>();
15
}