summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/parse1.C
blob: ce8e4cef5b928f268422661735e4e804480eb61f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// { dg-do assemble  }
// GROUPS passed parsing
class Try {
private:
  char s;
public:
  // an escaped double-quote should not call consume_string inside
  // reinit_parse_for_block
  void  mf() { s='\"'; }
};

int main()
{
  Try x;
  x.mf();
}