aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/lex1.C
blob: b639f05c39a15d097cc903fd3ac89164e810dd5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Build don't link:
// 
// 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
   // ERROR - stray char
}