~shimon/dismaltc

ref: 461e0617cb03f1d5027af4fbb3da0722791022e9 dismaltc/clang/disable-test/ASTMerge/inheritance/test.cpp -rw-r--r-- 292 bytes
461e0617Itoh Shimon re-enable tests. 1 year, 10 months ago
                                                                                
1
2
3
4
5
6
7
8
// 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) {
  }
};