summaryrefslogtreecommitdiffstats
path: root/test/utilities/memory/pointer.traits/pointer_to.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/utilities/memory/pointer.traits/pointer_to.pass.cpp')
-rw-r--r--test/utilities/memory/pointer.traits/pointer_to.pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utilities/memory/pointer.traits/pointer_to.pass.cpp b/test/utilities/memory/pointer.traits/pointer_to.pass.cpp
index 28dc3f2c3..42fd9300b 100644
--- a/test/utilities/memory/pointer.traits/pointer_to.pass.cpp
+++ b/test/utilities/memory/pointer.traits/pointer_to.pass.cpp
@@ -1 +1 @@
-//===----------------------------------------------------------------------===// // // ΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚThe LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // <memory> // template <class T> // struct pointer_traits<T*> // { // static pointer pointer_to(<details>); // ... // }; #include <memory> #include <cassert> int main() { { int i = 0; int* a = std::pointer_traits<int*>::pointer_to(i); assert(a = &i); } { (std::pointer_traits<void*>::element_type)0; } } \ No newline at end of file
+//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // <memory> // template <class T> // struct pointer_traits<T*> // { // static pointer pointer_to(<details>); // ... // }; #include <memory> #include <cassert> int main() { { int i = 0; int* a = std::pointer_traits<int*>::pointer_to(i); assert(a = &i); } { (std::pointer_traits<void*>::element_type)0; } } \ No newline at end of file