r204051 - Remove unused variable from test.
Richard Smith
richard-llvm at metafoo.co.uk
Mon Mar 17 09:53:14 PDT 2014
Author: rsmith
Date: Mon Mar 17 11:53:13 2014
New Revision: 204051
URL: http://llvm.org/viewvc/llvm-project?rev=204051&view=rev
Log:
Remove unused variable from test.
Modified:
cfe/trunk/test/CXX/drs/dr412.cpp
Modified: cfe/trunk/test/CXX/drs/dr412.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/drs/dr412.cpp?rev=204051&r1=204050&r2=204051&view=diff
==============================================================================
--- cfe/trunk/test/CXX/drs/dr412.cpp (original)
+++ cfe/trunk/test/CXX/drs/dr412.cpp Mon Mar 17 11:53:13 2014
@@ -9,7 +9,7 @@
// REQUIRES: LP64
typedef __SIZE_TYPE__ size_t;
namespace std { struct bad_alloc {}; }
-int x;
+
inline void* operator new(size_t) BAD_ALLOC; // expected-error {{cannot be declared 'inline'}}
inline void* operator new[](size_t) BAD_ALLOC; // expected-error {{cannot be declared 'inline'}}
inline void operator delete(void*) NOEXCEPT; // expected-error {{cannot be declared 'inline'}}
More information about the cfe-commits
mailing list