blob: aa7945ff4c266a92a98fcb83a59d243f5698acb1 [file] [log] [blame]
// { dg-do compile }
// { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } { "" } }
// { dg-options "-fdump-tree-optimized" }
class aa{
void f();
private:
volatile int a;
};
void aa::f(){
a=1;
a=1;
}
// { dg-final { scan-tree-dump-times "a ={v} 1;" 2 "optimized" } }