Commit 632f401b authored by ktietz's avatar ktietz
Browse files

2010-08-17 Kai Tietz <kai.tietz@onevision.com>

        * g++.dg/ext/uow-1.C: New.
        * g++.dg/ext/uow-2.C: New.
        * g++.dg/ext/uow-3.C: New.
        * g++.dg/ext/uow-4.C: New.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163299 138bc75d-0d04-0410-961f-82ee72b054a4
parent 5991c03b
2010-08-17 Kai Tietz <kai.tietz@onevision.com>
* g++.dg/ext/uow-1.C: New.
* g++.dg/ext/uow-2.C: New.
* g++.dg/ext/uow-3.C: New.
* g++.dg/ext/uow-4.C: New.
2010-08-17 Richard Guenther <rguenther@suse.de>
PR testsuite/45266
......
/* { dg-do compile } */
/* { dg-options "-Wall" } */
extern "C" {
typedef int UOW;
struct ABC {
UOW UOW;
};
}
/* { dg-do compile } */
/* { dg-options "-Wall -fms-extensions" } */
typedef int UOW;
struct ABC {
UOW UOW;
};
/* { dg-do compile } */
/* { dg-options "-Wall" } */
typedef int UOW; /* { dg-error "" } */
struct ABC {
UOW UOW; /* { dg-error "" } */
};
/* { dg-do compile } */
/* { dg-options "-Wall -pedantic" } */
extern "C" {
typedef int UOW; /* { dg-error "" } */
struct ABC {
UOW UOW; /* { dg-error "" } */
};
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment