summaryrefslogtreecommitdiffstats
path: root/Tests/Simple/simpleWe.cpp
blob: 859e07c0660d4f2df62850ac172c1c4b3c2eb192 (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();
}