From 50cb35c7b79803e200404c96f4402d32115b8324 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Sun, 31 Aug 2008 13:02:10 +0000 Subject: [PATCH] test case for -Wwrite-strings [r21588] --- parsetest/should_warn/write_strings.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 parsetest/should_warn/write_strings.c diff --git a/parsetest/should_warn/write_strings.c b/parsetest/should_warn/write_strings.c new file mode 100644 index 0000000..f4125e0 --- /dev/null +++ b/parsetest/should_warn/write_strings.c @@ -0,0 +1,8 @@ +#include + +int main(int argc, char *argv[]) { + char *p = "hallo"; + wchar_t *w = L"hallo"; + + return 0; +} -- 2.20.1