1 // RUN: %clang_cc1 -x c++ -fsyntax-only -verify %s 2 3 struct fam_struct { 4 int x; 5 char count; 6 int array[] __attribute__((counted_by(count))); // expected-warning {{'counted_by' attribute ignored}} 7 }; 8 9