aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/parse1.C
blob: 0c62c03bda9b0b05915e0f97ba8749f3ffcf8d33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Build don't link: 
// 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();
}