llvm-capstone/clang/test/Lexer/11-27-2007-FloatLiterals.c
Argyrios Kyrtzidis 351763e156 Multiple tests in a single test file must be linked with '&&'.
Otherwise, failing tests other than the last one will not be reported.

llvm-svn: 52231
2008-06-12 12:40:02 +00:00

8 lines
214 B
C

// RUN: clang %s -emit-llvm -o - | grep 0x3BFD83C940000000 | count 2 &&
// RUN: clang %s -emit-llvm -o - | grep 2.000000e+32 | count 2
float F = 1e-19f;
double D = 2e32;
float F2 = 01e-19f;
double D2 = 02e32;