OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.dg/] [warn/] [Wmissing-declarations-1.C] - Diff between revs 301 and 338

Only display areas with differences | Details | Blame | View Log

Rev 301 Rev 338
// { dg-options "-Wmissing-declarations" }
// { dg-options "-Wmissing-declarations" }
void fn1() { }          // { dg-warning "no previous declaration" }
void fn1() { }          // { dg-warning "no previous declaration" }
namespace ns {
namespace ns {
  void fn2() { }        // { dg-warning "no previous declaration" }
  void fn2() { }        // { dg-warning "no previous declaration" }
}
}
namespace {
namespace {
  void fn3() { }
  void fn3() { }
}
}
static void fn4() { }
static void fn4() { }
void fn5();
void fn5();
namespace ns {
namespace ns {
  void fn6();
  void fn6();
}
}
void fn5() { }
void fn5() { }
namespace ns {
namespace ns {
  void fn6() { }
  void fn6() { }
}
}
inline void fn7() { }
inline void fn7() { }
class c {
class c {
  void cfn1() { }
  void cfn1() { }
  static void cfn2() { }
  static void cfn2() { }
  void cfn3();
  void cfn3();
  static void cfn4();
  static void cfn4();
};
};
void c::cfn3() { }
void c::cfn3() { }
void c::cfn4() { }
void c::cfn4() { }
static struct {
static struct {
  void sfn1() { }
  void sfn1() { }
  static void sfn2() { }
  static void sfn2() { }
} s;
} s;
template
template
void tfn1() { }
void tfn1() { }
template void tfn1();
template void tfn1();
class d { };
class d { };
template<> void tfn1() { }
template<> void tfn1() { }
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.