blob: aa6277b021b07721bc66370fd1aa8bd7e37f0ddb [file] [log] [blame]
/************************************************/
// https://issues.dlang.org/show_bug.cgi?id=15180
// [REG2.069.0-b1] Segfault with empty struct used as UDA
struct foo { }
@foo bar () { }
/************************************************/
// https://issues.dlang.org/show_bug.cgi?id=23241
alias feynman = int;
enum get = __traits(getAttributes, feynman);
static assert(get.length == 0);