Daniel Dunbar | d7d5f02 | 2009-03-24 02:24:46 +0000 | [diff] [blame^] | 1 | // RUN: clang-cc -fsyntax-only -verify %s |
Fariborz Jahanian | c55a240 | 2009-01-16 19:58:32 +0000 | [diff] [blame] | 2 | /* Test attempt to redefine 'id' in an incompatible fashion. */ |
3 | |||||
4 | typedef int id; // expected-error {{typedef redefinition with different types}} | ||||
5 | |||||
6 | id b; |