mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-23 10:07:41 +08:00
Placate unused variable warnings uncovered by improvements to clang's -Wunused-variable
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@315809 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -102,6 +102,8 @@ int main()
|
||||
using T = NonDefaultConstructible<>;
|
||||
T v(42);
|
||||
std::tuple<T, T> t(v, v);
|
||||
(void)t;
|
||||
std::tuple<T, T> t2(42, 42);
|
||||
(void)t2;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user