comparison gcc/testsuite/g++.dg/parse/ptrmem3.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 // Copyright (C) 2005 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 14 Feb 2005 <nathan@codesourcery.com>
3
4 // Origin: Volker Reichelt <reichelt@gcc.gnu.org>
5 // Bug 19895: ICE on invalid
6
7
8 template<typename> struct A
9 {
10 int A<0>::* p; // { dg-error "(type/value mismatch)|(expected)" }
11 };