// { dg-do run }
// A test case found by InterViews testing...
extern "C" int printf(const char *, ...);
class A {
public:
int foo() { printf("ok nv\n"); return 0; }
virtual int vfoo() { printf("
// { dg-do run }
// example from the ARM page 292 and 293
extern "C" int printf(const char *, ...);
extern "C" void exit(int);
int i = 0;
class A {
public:
A() {
printf("Doing A\n");
if
// { dg-do run }
// GROUPS passed niklas hiding local-types
extern "C" int printf (const char*, ...);
int val = 1;
void S () { printf ("FAIL\n"); }
void f () { printf ("PASS\n"); val = 0; }
int main
// { dg-do run }
// Bug: continue over object decl calls destructor but not constructor.
int c = 0;
int d = 0;
extern "C" int printf(const char *,...);
class Foo {
public:
Foo(){ c++; }
~Foo(){