Test case for r183481.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@183522 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9360e9f944
commit
ee749a403c
20
test/containers/sequences/vector/const_value_type.pass.cpp
Normal file
20
test/containers/sequences/vector/const_value_type.pass.cpp
Normal file
@ -0,0 +1,20 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// <vector>
|
||||
|
||||
// vector<const int> v; // an extension
|
||||
|
||||
#include <vector>
|
||||
#include <type_traits>
|
||||
|
||||
int main()
|
||||
{
|
||||
std::vector<const int> v = {1, 2, 3};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user