// RUN: %clang_cc1 -fsyntax-only -verify=c2x -std=c2x %s
// RUN: %clang_cc1 -Wno-strict-prototypes -fsyntax-only -verify -std=c17 %s
// RUN: %clang_cc1 -fsyntax-only -fno-knr-functions -std=c99 -verify=c2x %s
// expected-no-diagnostics
void ; // c2x-note {{'func' declared here}}
typedef void ;
void ;
void
// Ensure these function declarations do not merge in C2x.
void ; // c2x-note {{previous declaration is here}}
void ; // c2x-error {{conflicting types for 'redecl1'}}
void ; // c2x-note {{previous declaration is here}}
void ; // c2x-error {{conflicting types for 'redecl2'}}