summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/fail_compilation/fail257.d
blob: 0e2d66995725c6d526211b0c978528dcb004a368 (plain)
1
2
3
4
5
6
7
8
/*
TEST_OUTPUT:
---
fail_compilation/fail257.d(8): Error: incompatible types for `("foo"d) == ("bar"c)`: `dstring` and `string`
fail_compilation/fail257.d(8):        while evaluating `pragma(msg, "foo"d == "bar"c ? "A" : "B")`
---
*/
pragma(msg, "foo"d == "bar"c ? "A" : "B");