summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/dollar.c
blob: e69c4e2ec83456226807c6affa37b3bfe64f5ed4 (plain)
1
2
3
4
5
6
7
8
9
/* Copyright (C) 2003 Free Software Foundation, Inc.  */

/* { dg-do compile } */
/* { dg-options -fno-dollars-in-identifiers } */

/* Test that -fno-dollars-in-identifiers is honoured.
   Neil Booth, 17 May 2003.  */

int foobar$;	/* { dg-error "11:stray '\\$'" } */