| 1 | //===--- inheriting_ctor-i1.h - test input file for iwyu ------------------===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef INCLUDE_WHAT_YOU_USE_TESTS_CXX_INHERITING_CTOR_I1_H_ |
| 11 | #define INCLUDE_WHAT_YOU_USE_TESTS_CXX_INHERITING_CTOR_I1_H_ |
| 12 | |
| 13 | struct Base { |
| 14 | Base(int); |
| 15 | }; |
| 16 | struct Derived : Base { |
| 17 | using Base::Base; |
| 18 | }; |
| 19 | |
| 20 | #endif // INCLUDE_WHAT_YOU_USE_TESTS_CXX_INHERITING_CTOR_I1_H_ |