From 069a6da34a86c97ffe78c379da246fc8116daaff Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Mon, 14 Mar 2011 16:13:32 +0000 Subject: -fwritable-strings should silence warnings about the deprecated string -literal to char* conversion. Make it so. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127586 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/SemaCXX/writable-strings-deprecated.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'test/SemaCXX/writable-strings-deprecated.cpp') diff --git a/test/SemaCXX/writable-strings-deprecated.cpp b/test/SemaCXX/writable-strings-deprecated.cpp index c89c882564..66b5994798 100644 --- a/test/SemaCXX/writable-strings-deprecated.cpp +++ b/test/SemaCXX/writable-strings-deprecated.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -Wno-deprecated-writable-strings -verify %s +// RUN: %clang_cc1 -fsyntax-only -fwritable-strings -verify %s // rdar://8827606 char *fun(void) -- cgit v1.2.3-70-g09d2