commit | ed4e367f8e27d2c700efdaff9412f2bf83ddba00 | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Sun May 31 20:21:44 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Sun May 31 20:21:44 2009 +0000 |
tree | f61f45918df3dba0198590afcccea7e88f6b0983 | |
parent | 8c49911e6e52f490dcef7eb181f29cc95be8ba36 [diff] [blame] |
Very basic irgen support for new expressions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72672 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/new.cpp b/test/CodeGenCXX/new.cpp new file mode 100644 index 0000000..fddda2b --- /dev/null +++ b/test/CodeGenCXX/new.cpp
@@ -0,0 +1,5 @@ +// RUN: clang-cc %s -emit-llvm -o %t + +void t1() { + int* a = new int; +}