forked from OSchip/llvm-project
Mark some tests as XFAIL with GCC due to compiler bugs
llvm-svn: 258284
This commit is contained in:
parent
dfd6088c3f
commit
3f7c20747d
|
@ -9,6 +9,11 @@
|
||||||
|
|
||||||
// Can you have a catch clause of array type that catches anything?
|
// Can you have a catch clause of array type that catches anything?
|
||||||
|
|
||||||
|
|
||||||
|
// GCC incorrectly allows array types to be caught by reference.
|
||||||
|
// See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69372
|
||||||
|
// XFAIL: gcc
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
|
|
|
@ -9,6 +9,10 @@
|
||||||
|
|
||||||
// Can you have a catch clause of array type that catches anything?
|
// Can you have a catch clause of array type that catches anything?
|
||||||
|
|
||||||
|
// GCC incorrectly allows function pointer to be caught by reference.
|
||||||
|
// See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69372
|
||||||
|
// XFAIL: gcc
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
template <class Tp>
|
template <class Tp>
|
||||||
|
|
|
@ -7,6 +7,9 @@
|
||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
// GCC incorrectly allows PMF type "void (T::*)()" to be caught as "void (T::*)() const"
|
||||||
|
// See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69375
|
||||||
|
// XFAIL: gcc
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
struct A
|
struct A
|
||||||
|
|
Loading…
Reference in New Issue