commit | adb9a912fc040fe3087e80aaae9fe699bfda81c4 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Sep 22 18:27:20 2003 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Sep 22 18:27:20 2003 +0000 |
tree | 96654ca4c9fc9420f2f7aeab6febe19c70261010 | |
parent | 49cf09100541e806e7426250ebadeb383803afb9 [diff] |
new testcase that crashes the C++ frontend, found by John llvm-svn: 8655
diff --git a/llvm/test/Regression/C++Frontend/2003-09-22-CompositeExprValue.cpp b/llvm/test/Regression/C++Frontend/2003-09-22-CompositeExprValue.cpp new file mode 100644 index 0000000..9ee0289 --- /dev/null +++ b/llvm/test/Regression/C++Frontend/2003-09-22-CompositeExprValue.cpp
@@ -0,0 +1,9 @@ +struct duration { + duration operator/=(int c) { + return *this; + } +}; + +void a000090() { + duration() /= 1; +}