Fix a couple of 'unused variable' warnings in a vector test. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@337016 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -77,6 +77,8 @@ int main()
|
||||
typedef std::vector<T> C;
|
||||
C::iterator i;
|
||||
C::const_iterator j;
|
||||
(void) i;
|
||||
(void) j;
|
||||
}
|
||||
#if TEST_STD_VER >= 11
|
||||
{
|
||||
@@ -125,6 +127,8 @@ int main()
|
||||
typedef std::vector<T, min_allocator<T>> C;
|
||||
C::iterator i;
|
||||
C::const_iterator j;
|
||||
(void) i;
|
||||
(void) j;
|
||||
}
|
||||
{
|
||||
typedef A T;
|
||||
|
||||
Reference in New Issue
Block a user