diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-09 21:44:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-09 21:44:40 +0000 |
commit | bb8976e36e73560f0556a53ebc3fa2ff4d2449f1 (patch) | |
tree | 25caaf51bc66ad2414c4c65e4149ad0728507e2f /clang/test/CodeGenCXX/expr.cpp | |
parent | 116ce8f1729a074419b985fe9ca6be715ecc7ac9 (diff) | |
download | bcm5719-llvm-bb8976e36e73560f0556a53ebc3fa2ff4d2449f1.tar.gz bcm5719-llvm-bb8976e36e73560f0556a53ebc3fa2ff4d2449f1.zip |
implement codegen support for preinc as an lvalue, PR5514.
llvm-svn: 93076
Diffstat (limited to 'clang/test/CodeGenCXX/expr.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/expr.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/expr.cpp b/clang/test/CodeGenCXX/expr.cpp index 6d641dcb622..d92cfb46a45 100644 --- a/clang/test/CodeGenCXX/expr.cpp +++ b/clang/test/CodeGenCXX/expr.cpp @@ -10,3 +10,7 @@ void test1() { char *xpto; while ( true && xpto[0] ); } + +// PR5514 +int a; +void test2() { ++a+=10; } |