Dan Gohman | 2d65d35 | 2009-08-25 15:38:29 +0000 | [diff] [blame] | 1 | // RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 2 | |
3 | struct duration { | ||||
4 | duration operator/=(int c) { | ||||
5 | return *this; | ||||
6 | } | ||||
7 | }; | ||||
8 | |||||
9 | void a000090() { | ||||
10 | duration() /= 1; | ||||
11 | } |