8d5d041590
Find new home for downstream RHEL tests. Upstream them. The set of tests used for fedora gating stays intact: The gating tests are only those having the tier1 tag set in their main.fmf file. The testplan plans/ci.fmf filters the others out from gating. The set of Fedora gating tests stays the same as it was before this change.
72 lines
1.2 KiB
C++
72 lines
1.2 KiB
C++
__attribute__((noinline)) void StandaloneFunction(){
|
|
|
|
}
|
|
|
|
class CLASS1{
|
|
private:
|
|
void prMethod() {};
|
|
public:
|
|
void puMethod() {this->prMethod();};
|
|
static void stMethod() {};
|
|
};
|
|
|
|
namespace inner{
|
|
void StandaloneFunction(){
|
|
}
|
|
|
|
class CLASS1{
|
|
private:
|
|
void prMethod() {};
|
|
public:
|
|
void puMethod() {this->prMethod();};
|
|
static void stMethod() {};
|
|
};
|
|
};
|
|
|
|
namespace moreinner{
|
|
void StandaloneFunction(){
|
|
}
|
|
|
|
class CLASS1{
|
|
private:
|
|
__attribute__((noinline)) void prMethod() {};
|
|
public:
|
|
__attribute__((noinline)) void puMethod() {this->prMethod();};
|
|
__attribute__((noinline)) static void stMethod() {};
|
|
};
|
|
};
|
|
|
|
int main(){
|
|
StandaloneFunction();
|
|
inner::StandaloneFunction();
|
|
moreinner::StandaloneFunction();
|
|
|
|
CLASS1 A;
|
|
inner::CLASS1 B;
|
|
moreinner::CLASS1 C;
|
|
|
|
CLASS1* pA = new CLASS1();
|
|
inner::CLASS1 *pB = new inner::CLASS1();
|
|
moreinner::CLASS1 *pC = new moreinner::CLASS1();
|
|
|
|
A.puMethod();
|
|
A.stMethod();
|
|
|
|
B.puMethod();
|
|
B.stMethod();
|
|
|
|
C.puMethod();
|
|
C.stMethod();
|
|
|
|
pA->puMethod();
|
|
pA->stMethod();
|
|
|
|
pB->puMethod();
|
|
pB->stMethod();
|
|
|
|
pC->puMethod();
|
|
pC->stMethod();
|
|
|
|
return 0;
|
|
}
|