summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/pr56239.C
blob: 08f7f6889381b078811900642b473dfd4ebd2f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/56239
// { dg-do compile }

struct S
{
  int operator () () { return 0; }
};

int
main ()
{
  return (S ()) ();
}