1 // RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin10 -O3 | FileCheck %s
4 virtual int f() { return 1; }
10 virtual int f() { return 2; }
15 // CHECK: define i32 @_Z1fv() nounwind
23 // Test that we don't try to fold the default value of j when initializing i.
24 // CHECK: define i32 @_Z9test_foldv() nounwind
27 A(const int j
= 1) : i(j
) { }