summaryrefslogtreecommitdiffstats
path: root/Tests/Simple/simpleWe.cpp
blob: e0f22ef8d408b6ef9b33270ebd7d755662bfd320 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdio.h>

class Foo
{
public:
  Foo()
    {
      printf("This one has nonstandard extension\n");
    }
  int getnum() { return 0; }
};

int bar()
{
  Foo f;
  return f.getnum();
}