diff options
author | Chris Lattner <sabre@nondot.org> | 2003-09-22 18:27:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-09-22 18:27:20 +0000 |
commit | e308f681db5a56fba00cc8113abcc8933c2a874d (patch) | |
tree | eb524ae094d5fb4ced1f04a10ee25f7454906623 /test/C++Frontend | |
parent | 4d436c1a413312658669e6727ffa485c2dbdf17c (diff) | |
download | external_llvm-e308f681db5a56fba00cc8113abcc8933c2a874d.zip external_llvm-e308f681db5a56fba00cc8113abcc8933c2a874d.tar.gz external_llvm-e308f681db5a56fba00cc8113abcc8933c2a874d.tar.bz2 |
new testcase that crashes the C++ frontend, found by John
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8655 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/C++Frontend')
-rw-r--r-- | test/C++Frontend/2003-09-22-CompositeExprValue.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/C++Frontend/2003-09-22-CompositeExprValue.cpp b/test/C++Frontend/2003-09-22-CompositeExprValue.cpp new file mode 100644 index 0000000..9ee0289 --- /dev/null +++ b/test/C++Frontend/2003-09-22-CompositeExprValue.cpp @@ -0,0 +1,9 @@ +struct duration { + duration operator/=(int c) { + return *this; + } +}; + +void a000090() { + duration() /= 1; +} |