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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lto/] [20090312_1.C] - Blame information for rev 751

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
#include "20090312.h"
2
 
3
/* This file should be compiled with the C front end.  This
4
   should be testing what happens when LTO merges enum types and function
5
   prototypes compiled by the C and C++ FEs.  Since both FEs generate
6
   slightly different representations for these, LTO was emitting an
7
   ODR violation error.
8
 
9
   Once dejagnu can deal with multiple languages in a single test, remove
10
   the __cplusplus checks and force this file to be compiled with the
11
   C front end.  */
12
#ifdef __cplusplus
13
extern "C" {
14
#endif
15
 
16
JSErrorCallback p = 0;
17
enum Values x = ONE;
18
 
19
#ifdef __cplusplus
20
}
21
#endif

powered by: WebSVN 2.1.0

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