From 867b4d807b68ae3acfa964392016162da6934fda Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Wed, 10 Dec 2014 23:08:43 +0000 Subject: Forgot to commit this change with r223975 llvm-svn: 223979 --- clang/test/SemaCXX/anonymous-union.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/test/SemaCXX/anonymous-union.cpp') diff --git a/clang/test/SemaCXX/anonymous-union.cpp b/clang/test/SemaCXX/anonymous-union.cpp index 3b568fd8704..46d426cf0c0 100644 --- a/clang/test/SemaCXX/anonymous-union.cpp +++ b/clang/test/SemaCXX/anonymous-union.cpp @@ -80,12 +80,12 @@ union { // expected-error{{anonymous unions at namespace or global scope must be }; static union { - int int_val2; + int int_val2; // expected-note{{previous definition is here}} float float_val2; }; void PR21858() { - void int_val2(); + void int_val2(); // expected-error{{redefinition of 'int_val2' as different kind of symbol}} } void f() { -- cgit v1.2.3