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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
900403_04.C
blob
ba6aef0d202b9184926587f557f2131e42a70041
1
// { dg-do assemble }
2
// GROUPS passed abort
3
// g++ 1.37.1 bug 900403_04
4
5
// The following erroneous code causes g++ to abort.
6
7
// keywords: abort, bit-fields, zero length
8
9
struct s {
10
unsigned int foo:0; // { dg-error "" } causes abort
11
unsigned int field;
12
};