blob: 3bb5e9ab7e348d2c89c750e463cd20c53fa7632b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// PR c++/47132
// { dg-do compile { target c++11 } }
// { dg-final { scan-assembler "_Z1fIiEDToRfp_Li1EET_" } }
template <typename T>
auto f (T t) -> decltype(t |= 1);
int main()
{
f(1);
}
|