summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/error22.C
blob: 29552c67a6e41b2307dfbd05b7e0789a5b40d8bc (plain)
1
2
3
4
5
6
// { dg-options "-fshow-column -ansi -pedantic-errors -Wno-long-long" }
// PR c++/15786

struct A {
  void foo(bar* p); /* { dg-error "12:'bar' has not been declared" } */
};