1 
2 // Test this without pch.
3 // RUN: %clang_cc1 -ffixed-point -include %S/Inputs/fixed-point-literal.h -fsyntax-only -ast-print -o - %s | FileCheck %s
4 
5 // Test with pch.
6 // RUN: %clang_cc1 -ffixed-point -emit-pch -o %t %S/Inputs/fixed-point-literal.h
7 // RUN: %clang_cc1 -ffixed-point -include-pch %t -fsyntax-only -ast-print -o - %s | FileCheck %s
8 
9 // CHECK: const short _Fract sf = -0.25r;
10 // CHECK: const _Fract f = 0.75r;
11 // CHECK: const long _Accum la = 25.25lk;
12 
13 short _Fract sf2 = sf;
14 _Fract f2 = f;
15 long _Accum la2 = la;
16