llvm-project/llvm/test/C++Frontend/2003-09-22-CompositeExprVal...

12 lines
165 B
C++

// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
struct duration {
duration operator/=(int c) {
return *this;
}
};
void a000090() {
duration() /= 1;
}