diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2013-04-08 18:45:10 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2013-04-08 18:45:10 +0000 |
| commit | 809500fc2c13c8173a16b052304d983864e4a1e1 (patch) | |
| tree | 4fc2f184c499d106f29a386c452b49e5197bf63d /test/SemaCXX/alias-template.cpp | |
| parent | be7c9ec198dcdb5bf73a35bfbb00b3333cb87909 (diff) | |
Notes
Diffstat (limited to 'test/SemaCXX/alias-template.cpp')
| -rw-r--r-- | test/SemaCXX/alias-template.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/SemaCXX/alias-template.cpp b/test/SemaCXX/alias-template.cpp index 4bf79f851e0b9..db9c82afd5985 100644 --- a/test/SemaCXX/alias-template.cpp +++ b/test/SemaCXX/alias-template.cpp @@ -105,9 +105,7 @@ namespace TagName { template<typename Z> using S = struct { int n; }; // expected-error {{can not be defined}} template<typename Z> using T = class { int n; }; // expected-error {{can not be defined}} template<typename Z> using U = enum { a, b, c }; // expected-error {{can not be defined}} - template<typename Z> using V = struct V { int n; }; // expected-error {{redefinition of 'V' as different kind of symbol}} \ - expected-error {{'TagName::V' can not be defined in a type alias template}} \ - expected-note {{previous definition is here}} + template<typename Z> using V = struct V { int n; }; // expected-error {{'TagName::V' can not be defined in a type alias template}} } namespace StdExample { |
