gcc/testsuite/g++.dg/lto/pr87295_0.C
raw| 1 | // { dg-lto-do assemble } |
| 2 | // { dg-lto-options { { -flto -ffat-lto-objects -fdebug-types-section -g -std=gnu++17 } } } |
| 3 | |
| 4 | template<typename _Tp, _Tp __v> |
| 5 | struct integral_constant |
| 6 | { |
| 7 | static constexpr _Tp value = __v; |
| 8 | typedef _Tp value_type; |
| 9 | constexpr operator value_type() const noexcept { return value; } |
| 10 | }; |
| 11 | |
| 12 | typedef integral_constant<bool, false> false_type; |
| 13 | |
| 14 | template<typename...> |
| 15 | struct __or_; |
| 16 | |
| 17 | template<> |
| 18 | struct __or_<> |
| 19 | : public false_type |
| 20 | { }; |