Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/parse/ptrmem3.C @ 144:8f4e72ab4e11
fix segmentation fault caused by nothing next cur_op to end
author | Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 Dec 2018 21:23:56 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// Copyright (C) 2005 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 14 Feb 2005 <nathan@codesourcery.com> // Origin: Volker Reichelt <reichelt@gcc.gnu.org> // Bug 19895: ICE on invalid template<typename> struct A { int A<0>::* p; // { dg-error "(type/value mismatch)|(expected)" } };