blob: 1c04250fc3c0c59ece91d363d87e524c2f9874ef [file] [log] [blame]
// { dg-do assemble }
// Copyright (C) 2000 Free Software Foundation
// Contributed by Nathan Sidwell 3 July 2000 <nathan@codesourcery.com>
// We'd get confused entering a namespace via an alias
namespace Outer {
namespace Render_Real {
typedef void Type;
}
namespace Core_Real {}
namespace Core = Core_Real;
namespace Core_Real {
template<class T> void Foo (T *) {} // { dg-error "definition" }
}
template<> void Core::Foo<> (Render_Real::Type *) {} // { dg-error "" }
}