summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/constexpr-stmtexpr.C
blob: 40e0c2d65d045a6bc43f720c12475fbc311b4af5 (plain)
1
2
3
4
5
6
7
8
// PR c++/46977
// { dg-options "-std=c++0x" }

template < typename > void
foo ()
{
  ({int i;}), 0;
}