diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-04-27 19:33:05 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-04-27 19:33:05 +0000 |
commit | a1366cbab89ec6d4f630dca91e85d03d9e5d1d7d (patch) | |
tree | f751332ea38ee8e9d20bf8ea8b2da3369daa59bb /test/CodeGenCXX/inheriting-constructor.cpp | |
parent | 392b3f5798a62fe038082df0a5e2244b08b917d8 (diff) |
PR12224 (sort of): Diagnose inheriting constructor declarations in C++11 mode.
We do not support IRGen for these, and get some parts of the semantic analysis
wrong.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155728 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/inheriting-constructor.cpp')
-rw-r--r-- | test/CodeGenCXX/inheriting-constructor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGenCXX/inheriting-constructor.cpp b/test/CodeGenCXX/inheriting-constructor.cpp index b921a6d2bb..a99840290a 100644 --- a/test/CodeGenCXX/inheriting-constructor.cpp +++ b/test/CodeGenCXX/inheriting-constructor.cpp @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -std=c++11 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s +// XFAIL: * + // PR12219 struct A { A(int); virtual ~A(); }; struct B : A { using A::A; ~B(); }; |