// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
// expected-no-diagnostics
;
extern decltype x;
extern int x;
;
extern decltype y;
extern long y;
// An enum with a fixed underlying type has an integral promotion to that type,
// and to its promoted type.
;
;
T<false_> f;
T<true_> t;
// FIXME: DR1407 will make this ill-formed
T<+true_> q; // desired-error {{conversion from 'int' to 'bool'}}
;
// namespace GH56560