forked from OSchip/llvm-project
9 lines
292 B
C++
9 lines
292 B
C++
// 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) {
|
|
}
|
|
};
|