URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [crash1.C] - Rev 320
Go to most recent revision | 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;;);
}
Go to most recent revision | Compare with Previous | Blame | View Log