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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
sizeof2.C
blob
cb3c9bb721f7113b7b4d1d8d7e76f764842f3daf
1
// { dg-do assemble }
2
// Origin: Mark Mitchell <mark@codesourcery.com>
3
4
struct S
5
{
6
int j;
7
int i[2]; // { dg-error "" "" { xfail *-*-* } } non-static data member
8
};
9
10
void f ()
11
{
12
sizeof (S::j);
13
sizeof (S::i[0]); // { dg-error "" "" { xfail *-*-* } } used here
14
}
15