summaryrefslogtreecommitdiff
path: root/Tests/Simple/simpleWe.cpp
blob: 5211c912e1d1ff0ea5b24355a7a57cde1d9cc922 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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();
}