summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/ptrmem3.C
blob: 444f25cd2eadd6015ef3d88316344c4bce66a260 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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)" "" }
};