summaryrefslogtreecommitdiff
path: root/test/FrontendC++/2003-09-22-CompositeExprValue.cpp
blob: a8208adc5127cef9e28a19b7fb0c44af4329df29 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null

struct duration {
 duration operator/=(int c) {
  return *this;
  }
};

void a000090() {
  duration() /= 1;
}