// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11 // expected-no-diagnostics template struct TestStruct { typedef decltype(t+2) sum_type; };