]> granicus.if.org Git - clang/commit
typedef void T;
authorChris Lattner <sabre@nondot.org>
Thu, 10 Apr 2008 02:26:16 +0000 (02:26 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 10 Apr 2008 02:26:16 +0000 (02:26 +0000)
commitdef026a193b8218a58d112414515cb87fdf89c15
tree520c20a306d18b30c2c55cd8975a63f3e83b9cc0
parent8123a95c33b792d35c2e4992ba6e27882748fb0d
 typedef void T;
 void f(T);

is only invalid in C++ mode, not C89 mode.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49460 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticKinds.def
lib/Sema/SemaDecl.cpp
test/Sema/c89.c