blob: 5bbab7d9af96161a0b54548e2332438b2c755f5f [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc -triple=i686-linux-gnu -fsyntax-only -verify %s
Eli Friedmanad74a752008-06-28 06:23:08 +00002
3// Check types are the same through redeclaration
4unsigned long x;
5__typeof(1u+1l) x;
6
7unsigned y;
8__typeof(1+1u) y;
9__typeof(1u+1) y;
10
11long long z;
12__typeof(1ll+1u) z;