commit | fc038e9ef8ed262724f42597ca5c844de97b1202 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Sat Dec 17 00:36:09 2011 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Sat Dec 17 00:36:09 2011 +0000 |
tree | 8da724ad06ccd7e850ec223898f13ed897e10b73 | |
parent | 85b9e8ca6e157fde1e4526c157979ac49835a5b8 [diff] [blame] |
Remove a non-gcc-compatible extension that would apply attributes on declarations without a declarator to structs. Add a warning for ignored attributes. Patch by Michael Han. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146796 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/visibility.cpp b/test/CodeGenCXX/visibility.cpp index 0f36a6a..0da55c6 100644 --- a/test/CodeGenCXX/visibility.cpp +++ b/test/CodeGenCXX/visibility.cpp
@@ -156,7 +156,7 @@ namespace Test10 { struct A; - DEFAULT class B { + class DEFAULT B { void foo(A*); };