URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
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() { }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.