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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [macro-exp-tracking-3.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/*
2
  { dg-options "-fshow-column -ftrack-macro-expansion=1" }
3
  { dg-do compile }
4
 */
5
 
6
#define SQUARE(A) A * A         /* { dg-message "expansion" } */
7
 
8
void
9
foo()
10
{
11
  SQUARE (1 << 0.1);            /* { dg-message "expanded" } */
12
}
13
 
14
/* { dg-error "16:invalid operands to binary <<" "" {target *-*-* } { 11 } } */

powered by: WebSVN 2.1.0

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