view gcc/testsuite/gcc.dg/cpp/_Pragma2.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900 (2020-02-13)
parents 04ced10e8804
children
line wrap: on
line source
/* Copyright (C) 2000 Free Software Foundation, Inc.  */

/* { dg-do preprocess } */

/* Don't allow directives in a _Pragma string. */

/* Contributed by Neil Booth 14 Nov 2000.  */

_Pragma("#define test")

#ifdef test
#error Do not allow directives in _Pragma strings
#endif