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

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

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