diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-03-14 16:13:32 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-03-14 16:13:32 +0000 |
commit | 069a6da34a86c97ffe78c379da246fc8116daaff (patch) | |
tree | 2f97edf22cdd3eeb6bec5b915396e06578c0af16 /test/SemaCXX/writable-strings-deprecated.cpp | |
parent | a4fdbfad150ae37bddaa4094d3925a27a1a1cf3f (diff) |
-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
Diffstat (limited to 'test/SemaCXX/writable-strings-deprecated.cpp')
-rw-r--r-- | test/SemaCXX/writable-strings-deprecated.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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) |