blob: ccff8d56314f011b50325de6c2312adc88581c24 [file] [log] [blame]
// https://issues.dlang.org/show_bug.cgi?id=14375
interface IKeysAPI(string greetings) {
static assert(greetings == "Hello world", greetings);
}
void main() {
foreach (method; __traits(allMembers, IKeysAPI!("Hello world"))) {
static assert (method.length, "Empty string from the compiler ??");
pragma(msg, method);
}
}