1 // RUN: %clang_cc1 -triple x86_64-unknown-linux -fsyntax-only -verify %s
3 __attribute__((cfi_canonical_jump_table
)) void fdecl();
5 __attribute__((cfi_canonical_jump_table
)) void f() {}
8 __attribute__((cfi_canonical_jump_table
)) void f() {}
11 __attribute__((cfi_canonical_jump_table
)) int i
; // expected-error {{'cfi_canonical_jump_table' attribute only applies to functions}}