summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/dollar.c
blob: 43407f227edb575c0d7ba42c5c4b14361c52c6d6 (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 "stray '\\$'" } */