blob: ad86eff876b493b27c1780e787d703e341a43723 [file] [log] [blame]
// PR c++/84726
// { dg-do compile { target c++11 } }
#define SA(X) static_assert (X, #X)
int main()
{
const int i = 42;
auto l = [=]{return i+i;};
SA(sizeof(l) == 1);
}