repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
rv-cond2.C
blob
e231b11e1a6dc67a283b0d1d9df566e45fcb51ca
1
// { dg-do compile { target c++11 } }
2
3
template <class T, class U> struct ST;
4
template <class T> struct ST<T,T> {};
5
6
int&& f();
7
const int&& g();
8
9
void h(bool b) {
10
ST<decltype(b ? f() : g()),const int&&>();
11
}