OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* lib/g++-dg.exp (g++-dg-test): Add "repo" option.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
union.C
diff --git
a/gcc/testsuite/g++.old-deja/g++.jason/union.C
b/gcc/testsuite/g++.old-deja/g++.jason/union.C
index
b145390
..
21a0b6f
100644
(file)
--- a/
gcc/testsuite/g++.old-deja/g++.jason/union.C
+++ b/
gcc/testsuite/g++.old-deja/g++.jason/union.C
@@
-1,11
+1,11
@@
+// { dg-do assemble }
// Bug: g++ doesn't insert anon union members into class scope.
// Breaks groff.
-// Build don't link:
struct A {
union {
int i;
};
- void foo () { i = 1; } //
gets bogus error -
+ void foo () { i = 1; } //
{ dg-bogus "" }
};