URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 338 |
// { dg-do assemble }
|
// { dg-do assemble }
|
//
|
//
|
// Copyright (C) 2000 Free Software Foundation, Inc.
|
// Copyright (C) 2000 Free Software Foundation, Inc.
|
// Contributed by Nathan Sidwell 9 Aug 2000
|
// Contributed by Nathan Sidwell 9 Aug 2000
|
|
|
// We failed to spot where a typename T::t didn't actually declare
|
// We failed to spot where a typename T::t didn't actually declare
|
// anything. [7.1.5.3]/1
|
// anything. [7.1.5.3]/1
|
|
|
template struct C
|
template struct C
|
{
|
{
|
typename LB::DataType; // { dg-error "" } does not declare anything
|
typename LB::DataType; // { dg-error "" } does not declare anything
|
typename LB::DataType m;
|
typename LB::DataType m;
|
};
|
};
|
|
|
struct B {};
|
struct B {};
|
struct A {
|
struct A {
|
B; // { dg-error "" } does not declare anything
|
B; // { dg-error "" } does not declare anything
|
B m;
|
B m;
|
};
|
};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.