// RUN: %clang_cc1 -fsyntax-only %s -std=c++11 -verify
// This is a test for an egregious hack in Clang that works around
// an issue with GCC's <type_traits> implementation. std::common_type
// relies on pre-standard rules for decltype(), in which it doesn't
// produce reference types so frequently.
using T = int;
using T = std::common_type<int, int>::type;
using U = int; // expected-note {{here}}
using U = decltype; // expected-error {{different types}}