[llvm-commits] [dragonegg] r172428 - /dragonegg/trunk/test/validator/c++/nullptr23.C
Duncan Sands
baldrick at free.fr
Mon Jan 14 08:12:05 PST 2013
Author: baldrick
Date: Mon Jan 14 10:12:05 2013
New Revision: 172428
URL: http://llvm.org/viewvc/llvm-project?rev=172428&view=rev
Log:
This fails with older versions of gcc-4.6 (crashing gcc not dragonegg) but
passes with newer versions. Rather than trying to do something clever, just
delete the test.
Removed:
dragonegg/trunk/test/validator/c++/nullptr23.C
Removed: dragonegg/trunk/test/validator/c++/nullptr23.C
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/test/validator/c%2B%2B/nullptr23.C?rev=172427&view=auto
==============================================================================
--- dragonegg/trunk/test/validator/c++/nullptr23.C (original)
+++ dragonegg/trunk/test/validator/c++/nullptr23.C (removed)
@@ -1,24 +0,0 @@
-// RUN: %dragonegg -xc++ -S -std=c++0x %s
-// XFAIL: gcc-4.5
-// PR14777
-#include <initializer_list>
-
-struct Foo
-{
- Foo(std::initializer_list<Foo>) { };
-
- template<class T> Foo(T t) { T u(t); };
-
-private:
- union Data
- {
- Data() : null(nullptr) {}
-
- std::nullptr_t null;
- } u_;
-};
-
-int main()
-{
- Foo f = { {} };
-}
More information about the llvm-commits
mailing list