OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [tr-warn4.c] - Blame information for rev 823

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Test for -Wtraditional warnings on integer constant suffixes.
2
   Note, gcc should omit these warnings in system header files.
3
   By Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 8/22/2000.  */
4
/* { dg-do preprocess } */
5
/* { dg-options "-Wtraditional -fno-show-column" } */
6
 
7
#if 1U /* { dg-warning "traditional C rejects" "numeric constant suffix" } */
8
#endif
9
#if 1u /* { dg-warning "traditional C rejects" "numeric constant suffix" } */
10
#endif
11
#if 1L
12
#endif
13
#if 1l
14
#endif
15
 
16
# 17 "sys-header.h" 3
17
/* We are in system headers now, no -Wtraditional warnings should issue.  */
18
 
19
#if 1U
20
#endif
21
#if 1u
22
#endif
23
#if 1L
24
#endif
25
#if 1l
26
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.