//===----------------------------------------------------------------------===// | |
// | |
// The LLVM Compiler Infrastructure | |
// | |
// This file is dual licensed under the MIT and the University of Illinois Open | |
// Source Licenses. See LICENSE.TXT for details. | |
// | |
//===----------------------------------------------------------------------===// | |
// UNSUPPORTED: c++98, c++03 | |
// <vector> | |
// vector<const int> v; // an extension | |
#include <vector> | |
#include <type_traits> | |
int main() | |
{ | |
std::vector<const int> v = {1, 2, 3}; | |
} |