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
libstdc++: Fix test FAILs due to -Wreturn-local-addr
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
cpp
/
_Pragma7.c
blob
a7a5b1bcb0bf142727f031702f6da5ff7104a686
1
/*
2
Origin: PR preprocessor/53469
3
{ dg-do compile }
4
*/
5
6
#define STRINGIFY(x) #x
7
#define TEST(x) \
8
_Pragma(STRINGIFY(GCC diagnostic ignored
"-Wunused-local-typedefs"
)) \
9
typedef int myint;
10
11
void
bar
()
12
{
13
TEST
(
myint
)
14
}