We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b46e4bf commit 4180e65Copy full SHA for 4180e65
regression/ansi-c/gcc_version1/fake-gcc-5
@@ -0,0 +1,3 @@
1
+#!/bin/sh
2
+
3
+gcc -Wno-macro-redefined -U __clang_major__ -D __GNUC__=5 -D __GNUC_MINOR__=0 -D __GNUC_PATCHLEVEL__=0 "$@"
regression/ansi-c/gcc_version1/gcc-5.c
@@ -0,0 +1,9 @@
+// These types should *not* be provided when emulating gcc-5:
+typedef float _Float32;
+typedef double _Float32x;
4
+typedef double _Float64;
5
+typedef long double _Float64x;
6
+typedef long double _Float128x;
7
8
+// But this type should:
9
+_Float128 f128;
regression/ansi-c/gcc_version1/test-gcc-5.desc
@@ -0,0 +1,7 @@
+CORE
+gcc-5.c
+--native-compiler ./fake-gcc-5
+^EXIT=0$
+^SIGNAL=0$
+--
+^CONVERSION ERROR$
0 commit comments