clang/test/AST/ast-print-cconv-preserve.cpp
raw| 1 | // RUN: %clang_cc1 -ast-print -triple x86_64-unknown-unknown %s -o - | FileCheck %s |
| 2 | |
| 3 | void (__attribute__((preserve_none)) *none)(); |
| 4 | |
| 5 | // CHECK: __attribute__((preserve_none)) void (*none)(); |
| 6 | |
| 7 | __attribute__((preserve_all)) void (*all)(); |
| 8 | |
| 9 | // CHECK: __attribute__((preserve_all)) void ((*all))(); |
| 10 | |
| 11 | __attribute__((preserve_most)) void (*most)(); |
| 12 | |
| 13 | // CHECK: __attribute__((preserve_most)) void ((*most))(); |
| 14 |