Mercurial > hg > CbC > CbC_llvm
annotate clang/test/AST/ast-dump-msp430-attr.c @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
207 | 1 // Test without serialization: |
2 // RUN: %clang_cc1 -triple msp430-unknown-unknown -ast-dump -ast-dump-filter Test %s \ | |
3 // RUN: | FileCheck --strict-whitespace %s | |
4 // | |
5 // Test with serialization: | |
6 // RUN: %clang_cc1 -triple msp430-unknown-unknown -emit-pch -o %t %s | |
7 // RUN: %clang_cc1 -x c -triple msp430-unknown-unknown -include-pch %t -ast-dump-all -ast-dump-filter Test /dev/null \ | |
8 // RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \ | |
9 // RUN: | FileCheck --strict-whitespace %s | |
150 | 10 |
11 __attribute__((interrupt(12))) void Test(void); | |
12 // CHECK: FunctionDecl{{.*}}Test | |
13 // CHECK-NEXT: MSP430InterruptAttr |