From: Jason Merrill Date: Thu, 15 Oct 1998 19:44:51 +0000 (-0400) Subject: new X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=409666f729b583b7b9bf382fdc3e284ab1b15e84;p=gcc.git new From-SVN: r23118 --- diff --git a/gcc/testsuite/g++.old-deja/g++.ns/main1.C b/gcc/testsuite/g++.old-deja/g++.ns/main1.C index a820e0ad65a..0e5a07f6aae 100644 --- a/gcc/testsuite/g++.old-deja/g++.ns/main1.C +++ b/gcc/testsuite/g++.old-deja/g++.ns/main1.C @@ -4,8 +4,6 @@ // submitted by Gerald Gutierrez -// excess errors test - XFAIL *-*-* - namespace A { void main () { } } namespace B { void main () { } } namespace C { diff --git a/gcc/testsuite/g++.old-deja/g++.other/lookup3.C b/gcc/testsuite/g++.old-deja/g++.other/lookup3.C new file mode 100644 index 00000000000..347be4e295a --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/lookup3.C @@ -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; + }) + ); +}