summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/stmtexpr12.C
blob: c35f41b0cc522c78abb186b0118f8a3b8162624d (plain)
1
2
3
4
5
6
7
// PR c++/29000
// { dg-options "" }

template<int> int foo()
{
  return ({foo;})==0;		// { dg-error "insufficient context" }
}