URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// { dg-do run }
|
// { dg-do run }
|
// { dg-additional-sources " comdat3-aux.cc" }
|
// { dg-additional-sources " comdat3-aux.cc" }
|
// Test that duplicate elimination of implicit instantiations of static
|
// Test that duplicate elimination of implicit instantiations of static
|
// data members works properly.
|
// data members works properly.
|
|
|
// Additional files: comdat3.h
|
// Additional files: comdat3.h
|
|
|
#include "comdat3.h"
|
#include "comdat3.h"
|
|
|
int main ()
|
int main ()
|
{
|
{
|
const bool *p = &A::b;
|
const bool *p = &A::b;
|
f ();
|
f ();
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.