// RUN: clang-cc -emit-llvm %s -o %t -triple=x86_64-apple-darwin9 && 
struct A {
  A();
  ~A();
  void f();
};

void f() {
  // RUN: grep "call void @_ZN1AC1Ev" %t | count 2 &&
  // RUN: grep "call void @_ZN1AD1Ev" %t | count 2
  A();
  A().f();
}

Add a simple test for temporaries.
Add a simple test for temporaries.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@79147 91177308-0d34-0410-b5e6-96231b3b80d8
