1// RUN: %clang_cc1 -fsyntax-only -Wno-deprecated-writable-strings -verify %s 2// RUN: %clang_cc1 -fsyntax-only -fwritable-strings -verify %s 3// RUN: %clang_cc1 -fsyntax-only -Wno-write-strings -verify %s 4// rdar://8827606 5 6char *fun(void) 7{ 8 return "foo"; 9} 10 11void test(bool b) 12{ 13 ++b; // expected-warning {{incrementing expression of type bool is deprecated}} 14} 15