blob: c6d17586e8556546c29fe802aae47cf0e6c0de19 [file] [log] [blame]
// { dg-do compile { target c++11 } }
#define SA(X) static_assert((X),#X)
void f()
{
int x;
auto l = [=]{ return x; };
typedef decltype(l) C;
SA(__is_trivially_copyable(C));
SA(__is_trivially_constructible(C,C));
}