blob: 76efaa1f0565ce4f98124f4b163d2d951cc22c81 [file] [log] [blame]
// { dg-do run }
// Bug: g++ doesn't generate default constructor.
class A {
public:
int i;
};
extern "C" int printf(const char *, ...);
int main () {
A a;
a.i = 1;
A b (a);
printf("%d\n",b.i);
}