blob: 257d9c7cdfde48ae118773072e1c5d4a29245873 (
plain)
1
2
3
4
5
6
7
8
|
// PR c++/93597 - ICE with lambda in operator function.
// { dg-do compile { target c++11 } }
template <typename T>
struct S {
using T ::operator<;
void operator==(T x) { [x] { 0 < x; }; }
};
|