Ben Craig | 8743f8c | 2016-04-19 20:13:55 +0000 | [diff] [blame] | 1 | //===----------------------------------------------------------------------===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is dual licensed under the MIT and the University of Illinois Open |
| 6 | // Source Licenses. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | // <utility> |
Asiri Rathnayake | 981986c | 2016-06-03 21:40:03 +0000 | [diff] [blame] | 11 | // XFAIL: c++98, c++03 |
Ben Craig | 8743f8c | 2016-04-19 20:13:55 +0000 | [diff] [blame] | 12 | |
| 13 | // #include <initializer_list> |
| 14 | |
| 15 | #include <utility> |
| 16 | |
| 17 | int main() |
| 18 | { |
| 19 | std::initializer_list<int> x; |
Benjamin Kramer | 346bd6a | 2017-10-14 15:52:38 +0000 | [diff] [blame] | 20 | (void)x; |
Ben Craig | 8743f8c | 2016-04-19 20:13:55 +0000 | [diff] [blame] | 21 | } |
| 22 | |