repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* gcc.dg/predict-12.c: New testcase.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
cpp
/
macro-exp-tracking-4.c
blob
401b846cc3ede1912a3c2c6b6bd90c02d1a5f690
1
/*
2
{ dg-options "-fshow-column -ftrack-macro-expansion=2" }
3
{ dg-do compile }
4
*/
5
6
#define SQUARE(A) A * A
/* { dg-message "in definition of macro 'SQUARE'" } */
7
8
void
9
foo
()
10
{
11
SQUARE
(
1
<<
0.1
);
/* { dg-message "13:invalid operands to binary <<" } */
12
}
13