repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ipa-cp: Perform operations in the appropriate types (PR 118097)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp
/
embed-18.C
blob
c7ab8dc5757a340df40f2120235f07cf8bc15ebc
1
// PR c++/118275
2
// { dg-do compile }
3
// { dg-options "" }
4
5
struct A { int a; char b[]; };
6
void bar (A *);
7
8
void
9
foo ()
10
{
11
static struct A a = { .a = 1, .b = {
12
#embed __FILE__
13
} };
14
bar (&a);
15
}