summaryrefslogtreecommitdiff
path: root/tests/semantic/realliteral-exponent-has-no-digits4.test
diff options
context:
space:
mode:
authorwszqkzqk <wszqkzqk@qq.com>2022-12-09 20:07:59 +0800
committerRico Tzschichholz <ricotz@ubuntu.com>2023-01-30 15:04:26 +0100
commit54ca3c304d252eda7fe7ee50014ca28a3b68dd19 (patch)
treed0d1e349b70e1228a66c984c5a1e9d2b72e35fc6 /tests/semantic/realliteral-exponent-has-no-digits4.test
parent760e1041346593bec39897b21eb965f8d1f7dbd2 (diff)
downloadvala-54ca3c304d252eda7fe7ee50014ca28a3b68dd19.tar.gz
vala: Add support for Hexadecimal floating point literals
https://gcc.gnu.org/onlinedocs/gcc/Hex-Floats.html#Hex-Floats
Diffstat (limited to 'tests/semantic/realliteral-exponent-has-no-digits4.test')
-rw-r--r--tests/semantic/realliteral-exponent-has-no-digits4.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/semantic/realliteral-exponent-has-no-digits4.test b/tests/semantic/realliteral-exponent-has-no-digits4.test
new file mode 100644
index 000000000..47590e231
--- /dev/null
+++ b/tests/semantic/realliteral-exponent-has-no-digits4.test
@@ -0,0 +1,5 @@
+Invalid Code
+
+void main () {
+ double foo = 0xf.fp;
+}