URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [crash1.C] - Rev 693
Compare with Previous | Blame | View Log
// { dg-do compile }
// Copyright (C) 2003 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 25 Aug 2003 <nathan@codesourcery.com>
// Origin pr 11871 Dirk Mueller <mueller@kde.org>
// PR c++/11871 Regression
namespace std
{
class A
{
public:
enum result
{
ok
};
};
template<typename T> class B : public A
{
public:
typedef A::result result;
};
}
int main()
{
for(float result = 1.0;;);
}