mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-08 15:42:07 +08:00
new
From-SVN: r23118
This commit is contained in:
parent
0f8766b8af
commit
409666f729
@ -4,8 +4,6 @@
|
||||
|
||||
// submitted by Gerald Gutierrez <gutier@intergate.bc.ca>
|
||||
|
||||
// excess errors test - XFAIL *-*-*
|
||||
|
||||
namespace A { void main () { } }
|
||||
namespace B { void main () { } }
|
||||
namespace C {
|
||||
|
17
gcc/testsuite/g++.old-deja/g++.other/lookup3.C
Normal file
17
gcc/testsuite/g++.old-deja/g++.other/lookup3.C
Normal file
@ -0,0 +1,17 @@
|
||||
// Test to make sure that the use of __typeof__ in WIFEXITED works.
|
||||
|
||||
int main ()
|
||||
{
|
||||
int stat_loc = 0;
|
||||
(__extension__
|
||||
({
|
||||
union
|
||||
{
|
||||
__typeof__ (stat_loc) __in;
|
||||
int __i;
|
||||
} __u;
|
||||
__u.__in = (stat_loc);
|
||||
__u.__i;
|
||||
})
|
||||
);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user