blob: c56ab3b763026cc050247cdadfe2ce99c8f02c9b [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -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;