Changeset View
Changeset View
Standalone View
Standalone View
clang/test/CodeGenCXX/inheriting-constructor.cpp
// RUN: %clang_cc1 -std=c++11 -triple i386-linux -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK --check-prefix=ITANIUM | // FIXME: automatically inserted -allow-unused-prefixes=true. Is the behavior intended? | ||||
// RUN: %clang_cc1 -std=c++11 -triple x86_64-darwin -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK --check-prefix=ITANIUM | // RUN: %clang_cc1 -std=c++11 -triple i386-linux -emit-llvm -o - %s | FileCheck %s --allow-unused-prefixes=true -check-prefix=CHECK --check-prefix=ITANIUM | ||||
// RUN: %clang_cc1 -std=c++11 -triple arm64-ehabi -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK --check-prefix=ITANIUM | // FIXME: automatically inserted -allow-unused-prefixes=true. Is the behavior intended? | ||||
// RUN: %clang_cc1 -std=c++11 -triple i386-windows -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK --check-prefix=MSABI --check-prefix=WIN32 | // RUN: %clang_cc1 -std=c++11 -triple x86_64-darwin -emit-llvm -o - %s | FileCheck %s --allow-unused-prefixes=true -check-prefix=CHECK --check-prefix=ITANIUM | ||||
// RUN: %clang_cc1 -std=c++11 -triple x86_64-windows -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK --check-prefix=MSABI --check-prefix=WIN64 | // FIXME: automatically inserted -allow-unused-prefixes=true. Is the behavior intended? | ||||
// RUN: %clang_cc1 -std=c++11 -triple arm64-ehabi -emit-llvm -o - %s | FileCheck %s --allow-unused-prefixes=true -check-prefix=CHECK --check-prefix=ITANIUM | |||||
// FIXME: automatically inserted -allow-unused-prefixes=true. Is the behavior intended? | |||||
// RUN: %clang_cc1 -std=c++11 -triple i386-windows -emit-llvm -o - %s | FileCheck %s --allow-unused-prefixes=true -check-prefix=CHECK --check-prefix=MSABI --check-prefix=WIN32 | |||||
// FIXME: automatically inserted -allow-unused-prefixes=true. Is the behavior intended? | |||||
// RUN: %clang_cc1 -std=c++11 -triple x86_64-windows -emit-llvm -o - %s | FileCheck %s --allow-unused-prefixes=true -check-prefix=CHECK --check-prefix=MSABI --check-prefix=WIN64 | |||||
// PR12219 | // PR12219 | ||||
struct A { A(int); virtual ~A(); }; | struct A { A(int); virtual ~A(); }; | ||||
struct B : A { using A::A; ~B(); }; | struct B : A { using A::A; ~B(); }; | ||||
B::~B() {} | B::~B() {} | ||||
B b(123); | B b(123); | ||||
▲ Show 20 Lines • Show All 383 Lines • Show Last 20 Lines |