1// RUN: %clang_cc1 -triple=i686-linux-gnu -fsyntax-only -verify %s
2// expected-no-diagnostics
3
4// Check types are the same through redeclaration
5unsigned long x;
6__typeof(1u+1l) x;
7
8unsigned y;
9__typeof(1+1u) y;
10__typeof(1u+1) y;
11
12long long z;
13__typeof(1ll+1u) z;
14