blob: e231b11e1a6dc67a283b0d1d9df566e45fcb51ca [file] [log] [blame]
// { dg-do compile { target c++11 } }
template <class T, class U> struct ST;
template <class T> struct ST<T,T> {};
int&& f();
const int&& g();
void h(bool b) {
ST<decltype(b ? f() : g()),const int&&>();
}