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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [comdat3.C] - Blame information for rev 699

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do run  }
2
// { dg-additional-sources " comdat3-aux.cc" }
3
// Test that duplicate elimination of implicit instantiations of static
4
// data members works properly.
5
 
6
// Additional files: comdat3.h
7
 
8
#include "comdat3.h"
9
 
10
int main ()
11
{
12
  const bool *p = &A::b;
13
  f ();
14
}

powered by: WebSVN 2.1.0

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