MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / objc_class2.d
blobb4d3cd7889cbe720fa73f0cfb75f254332311fbb
1 // EXTRA_OBJC_SOURCES:
2 /*
3 TEST_OUTPUT:
4 ---
5 fail_compilation/objc_class2.d(14): Error: function `objc_class2.A.test` number of colons in Objective-C selector must match number of parameters
6 ---
7 */
9 import core.attribute : selector;
11 extern (Objective-C)
12 extern class A
14 void test(int a, int b, int c) @selector("test:"); // non-matching number of colon