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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [comdat3.C] - Diff between revs 154 and 816

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 ();
}
}
 
 

powered by: WebSVN 2.1.0

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