summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/friend8.C
blob: aac5f0e55a603264ca8eee734082e89346da711a (plain)
1
2
3
4
5
6
7
8
// PR c++/35578
// Check position of error message
// { dg-do compile }

int i;

friend  // { dg-error "friend" }
  void foo();