Tweak expected error to match what should happen, once using declarations work

llvm-svn: 89876
This commit is contained in:
Douglas Gregor 2009-11-25 19:28:08 +00:00
parent 3e5e960572
commit 0bba2b6110
1 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,3 @@
// FIXME: Disabled, appears to have undefined behavior, and needs to be updated to match new warnings.
// RUN: clang-cc -fsyntax-only -verify %s
// XFAIL: *
@ -12,7 +11,7 @@ using A::VA;
using A::FA;
using typename A::SA;
void main()
int main()
{
VA = 1;
FA();
@ -35,7 +34,7 @@ namespace E {
template <typename TYPE> int funcE(TYPE arg) { return(arg); }
}
using E::funcE<int>; // expected-error{{use of template specialization in using directive not allowed}}
using E::funcE<int>; // expected-error{{using declaration can not refer to a template specialization}}
namespace F {
struct X;