diff options
| author | Anders Carlsson <andersca@mac.com> | 2009-05-31 20:21:44 +0000 |
|---|---|---|
| committer | Anders Carlsson <andersca@mac.com> | 2009-05-31 20:21:44 +0000 |
| commit | ed4e367f8e27d2c700efdaff9412f2bf83ddba00 (patch) | |
| tree | f61f45918df3dba0198590afcccea7e88f6b0983 /test/CodeGenCXX/new.cpp | |
| parent | 8c49911e6e52f490dcef7eb181f29cc95be8ba36 (diff) | |
| download | clang-ed4e367f8e27d2c700efdaff9412f2bf83ddba00.tar.gz clang-ed4e367f8e27d2c700efdaff9412f2bf83ddba00.tar.bz2 clang-ed4e367f8e27d2c700efdaff9412f2bf83ddba00.tar.xz | |
Very basic irgen support for new expressions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72672 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/new.cpp')
| -rw-r--r-- | test/CodeGenCXX/new.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGenCXX/new.cpp b/test/CodeGenCXX/new.cpp new file mode 100644 index 0000000000..fddda2b5b5 --- /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; +} |
