attrib23.c

来自「用于进行gcc测试」· C语言 代码 · 共 12 行

C
12
字号
// PR c++/28112// { dg-do compile }int i       __attribute__((init_priority(;)));  // { dg-error "before" }int j       __attribute__((vector_size(;)));    // { dg-error "before" }int k       __attribute__((visibility(;)));     // { dg-error "before" }struct A {} __attribute__((aligned(;)));        // { dg-error "before" }struct B {} __attribute__((mode(;)));           // { dg-error "before" }void foo()  __attribute__((alias(;)));          // { dg-error "before" }void bar()  __attribute__((nonnull(;)));        // { dg-error "before" }void baz()  __attribute__((section(;)));        // { dg-error "before" }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?