blob: 399c6ec22c6029112c53f731cd8be1f058289249 [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc -fsyntax-only -verify %s
Fariborz Jahanianc55a2402009-01-16 19:58:32 +00002/* Test attempt to redefine 'id' in an incompatible fashion. */
3
4typedef int id; // expected-error {{typedef redefinition with different types}}
5
6id b;