summaryrefslogtreecommitdiff
path: root/tests/exec/constructor4.cpp
blob: 221b807f7f36f9404d7262521714b203cc095d1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <iostream>

class A {
public:
  A();
};

A::A() {
  std::cout << "brand new world\n";
}

int main() {
  A *a = new A();
}