llvm-project/clang/test/Parser/ms-anachronism.c

4 lines
195 B
C

// RUN: %clang_cc1 -triple i686-windows-msvc -fms-extensions -fsyntax-only -verify %s
struct {} __cdecl s; // expected-warning {{'__cdecl' only applies to function types; type here is 'struct}}