]> git.proxmox.com Git - rustc.git/blobdiff - src/compiler-rt/test/ubsan/TestCases/Integer/div-zero.cpp
Imported Upstream version 1.6.0+dfsg1
[rustc.git] / src / compiler-rt / test / ubsan / TestCases / Integer / div-zero.cpp
index 9a223312e8e7014f320576f0d8417b80eb61780c..68b01afab2181d3d6299bcfa15be1572829176ba 100644 (file)
@@ -3,7 +3,7 @@
 // RUN: %clangxx -fsanitize=float-divide-by-zero -DDIVIDEND=1.5 %s -o %t && %run %t 2>&1 | FileCheck %s
 // RUN: %clangxx -fsanitize=integer-divide-by-zero -DDIVIDEND='intmax(123)' %s -o %t && %run %t 2>&1 | FileCheck %s
 
-#ifdef __SIZEOF_INT128__
+#if defined(__SIZEOF_INT128__) && !defined(_WIN32)
 typedef __int128 intmax;
 #else
 typedef long long intmax;