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