Fix a test-case warning.
PR target/95229 * g++.target/i386/pr95229.C: Fix error: unnamed type with no linkage used to declare variable ‘<unnamed class> e’ with linkage with -std=gnu++98.
This commit is contained in:
parent
ea097d141e
commit
2f20c7040f
|
@ -1,3 +1,11 @@
|
|||
2020-05-21 Martin Liska <mliska@suse.cz>
|
||||
|
||||
PR target/95229
|
||||
* g++.target/i386/pr95229.C: Fix
|
||||
error: unnamed type with no linkage used
|
||||
to declare variable ‘<unnamed class> e’ with linkage
|
||||
with -std=gnu++98.
|
||||
|
||||
2020-05-21 Nathan Sidwell <nathan@acm.org>
|
||||
|
||||
* c-c++-common/cpp/cmd-1.c: Delete.
|
||||
|
|
|
@ -7,7 +7,7 @@ struct a {
|
|||
unsigned long long c;
|
||||
};
|
||||
|
||||
class {
|
||||
class my_class {
|
||||
public:
|
||||
a d;
|
||||
} e;
|
||||
|
|
Loading…
Reference in New Issue