blob: 254c6c0591a519c01162b6590bf5ff62a8c5eb62 [file] [log] [blame]
Eli Friedman0832dbc2008-06-28 06:23:08 +00001// RUN: clang -fsyntax-only -verify %s
2
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;