URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// { dg-do compile }
|
// { dg-do compile }
|
|
|
// Copyright (C) 2001 Free Software Foundation, Inc.
|
// Copyright (C) 2001 Free Software Foundation, Inc.
|
// Contributed by Nathan Sidwell 9 Dec 2001
|
// Contributed by Nathan Sidwell 9 Dec 2001
|
|
|
// PR 51
|
// PR 51
|
// This example snippet is from the ISO C++ standard, sect 7.5 para 4:
|
// This example snippet is from the ISO C++ standard, sect 7.5 para 4:
|
|
|
extern "C" typedef void FUNC_c();
|
extern "C" typedef void FUNC_c();
|
|
|
class C {
|
class C {
|
public:
|
public:
|
static FUNC_c* q;
|
static FUNC_c* q;
|
};
|
};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.