arm: cleanup legacy ARM_PE code
[official-gcc.git] / gcc / testsuite / c-c++-common / analyzer / strlen-pr112811.c
blob6bf5d7a414ae53c65de2500559f3670d87935dce
1 struct foo_laptop_debug {
2 struct dentry *root;
3 unsigned long size;
4 };
5 struct foo_laptop {
6 void *placeholder;
7 struct foo_laptop_debug debug;
8 char sdiag[64];
9 };
11 extern struct dentry *debugfs_create_dir(void);
13 void foo_debugfs_init(struct foo_laptop *foo) {
14 struct dentry *root;
15 root = debugfs_create_dir();
16 foo->debug.root = root;
17 foo->debug.size = __builtin_strlen(foo->sdiag);