brintos

brintos / llvm-project-archived public Read only

0
0
Text · 405 B · da1c241 Raw
9 lines · c
1// RUN: %clang_cc1 %s -verify -fsyntax-only -pedantic -Wno-typedef-redefinition -std=c992 3// Make sure we accept a single typedef4typedef int (*a)[!.0]; // expected-warning{{folded to constant array}}5 6// And make sure we accept identical redefinitions in system headers7// (The test uses -Wno-typedef-redefinition to simulate this.)8typedef int (*a)[!.0]; // expected-warning{{folded to constant array}}9