Skip to content
Snippets Groups Projects
Commit ab51d490 authored by mueller's avatar mueller
Browse files

2006-10-29 Dirk Mueller <dmueller@suse.de>

        PR c++/16307
        * typeck.c (build_array_ref): Warn for char subscriptions
        on pointers.

        * g++.dg/warn/Wchar-subscripts-2.C: New testcase.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118154 138bc75d-0d04-0410-961f-82ee72b054a4
parent 425e1c96
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment