| // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 
 | // Use of this source code is governed by a BSD-style license that can be | 
 | // found in the LICENSE file. | 
 |  | 
 | #include "base/template_util.h" | 
 |  | 
 | #include <gtest/gtest.h> | 
 |  | 
 |  | 
 | namespace base { | 
 | namespace { | 
 |  | 
 | // is_non_const_reference<Type> | 
 | static_assert(!is_non_const_reference<int>::value, "IsNonConstReference"); | 
 | static_assert(!is_non_const_reference<const int&>::value, | 
 |               "IsNonConstReference"); | 
 | static_assert(is_non_const_reference<int&>::value, "IsNonConstReference"); | 
 |  | 
 | }  // namespace | 
 | }  // namespace base |