comparison clang/test/AST/fixed_point.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
comparison
equal deleted inserted replaced
173:0572611fdcc8 207:2e18cbf3894f
1 // Test without serialization:
1 // RUN: %clang_cc1 -x c -ffixed-point -ast-dump %s | FileCheck %s --strict-whitespace 2 // RUN: %clang_cc1 -x c -ffixed-point -ast-dump %s | FileCheck %s --strict-whitespace
3 //
4 // Test with serialization:
5 // RUN: %clang_cc1 -ffixed-point -emit-pch -o %t %s
6 // RUN: %clang_cc1 -x c -ffixed-point -include-pch %t -ast-dump-all /dev/null \
7 // RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
8 // RUN: | FileCheck %s --strict-whitespace
2 9
3 /* Various contexts where type _Accum can appear. */ 10 /* Various contexts where type _Accum can appear. */
4 11
5 // Primary fixed point types 12 // Primary fixed point types
6 signed short _Accum s_short_accum; 13 signed short _Accum s_short_accum;