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
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype49.C
blob
c3174982f82ca8748ad7e91f99f7566d269da230
1
// PR c++/45282
2
// { dg-require-effective-target c++11 }
3
4
struct A { int i; };
5
int A::*ipm = &A::i;
6
7
template <class T, class U> class assert_same_type;
8
template <class T> class assert_same_type<T,T> { };
9
10
assert_same_type<decltype(A().*ipm),int> x2;