You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
292 B
9 lines
292 B
4 months ago
|
// RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++1z -emit-pch -o %t.1.ast %S/Inputs/inheritance-base.cpp
|
||
|
// RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++1z -ast-merge %t.1.ast -fsyntax-only -verify %s
|
||
|
// expected-no-diagnostics
|
||
|
|
||
|
class B : public A {
|
||
|
B(int _a) : A(_a) {
|
||
|
}
|
||
|
};
|