blob: 1c04250fc3c0c59ece91d363d87e524c2f9874ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// { 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 "" }
}
|