blob: 0f425bd0e45b03ede761f8c2788e27af3f219c6e [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -triple=i686-linux-gnu -fsyntax-only -verify %s
Andy Gibbs8e8fb3b2012-10-19 12:44:48 +00002// expected-no-diagnostics
Eli Friedmanad74a752008-06-28 06:23:08 +00003
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;