comparison clang/test/Sema/2009-07-17-VoidParameter.c @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
comparison
equal deleted inserted replaced
147:c2174574ed3a 150:1d019706d866
1 // RUN: %clang_cc1 -verify -fsyntax-only %s
2 // PR4214
3 typedef void vt;
4 void (*func_ptr)(vt my_vt); // expected-error {{argument may not have 'void' type}}