From 8e858e99a3dcbcab799cbfbd15888fe72c8f224d Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Mon, 17 Mar 2014 16:53:13 +0000 Subject: [PATCH] Remove unused variable from test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204051 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CXX/drs/dr412.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CXX/drs/dr412.cpp b/test/CXX/drs/dr412.cpp index e93795b6ee..ca79499780 100644 --- a/test/CXX/drs/dr412.cpp +++ b/test/CXX/drs/dr412.cpp @@ -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'}} -- 2.40.0