llvm-project/llvm/test/FrontendC++/2003-09-22-CompositeExprVal...

12 lines
162 B
C++

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