summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/lex1.C
blob: 4e172780cbb79c90ef3573e2a397ba2eca065ab5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }
// 
// Copyright (C) 2001 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 26 April 2001 <nathan@codesourcery.com>

// Bug 2510. We ICEd when a bogus char was present.

void foo ()
{
  // there is a ctrl-h on the next line
   // { dg-error "" } stray char
}