blob: c2fad4bfe604f50a22ed568b0b3f9c1fef31f2c5 [file] [log] [blame]
Sebastian Redl3425c992008-12-02 16:34:01 +00001// RUN: clang -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;