projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
check for correct usage of the byval attribute
[oota-llvm.git]
/
test
/
C++Frontend
/
2003-10-27-VirtualBaseClassCrash.cpp
diff --git
a/test/C++Frontend/2003-10-27-VirtualBaseClassCrash.cpp
b/test/C++Frontend/2003-10-27-VirtualBaseClassCrash.cpp
index 39ec5c76fac964c8de87a15f96cfd2b285823256..f9fc80ee9407ba463a761645d9ad95905cffb5f0 100644
(file)
--- a/
test/C++Frontend/2003-10-27-VirtualBaseClassCrash.cpp
+++ b/
test/C++Frontend/2003-10-27-VirtualBaseClassCrash.cpp
@@
-1,3
+1,5
@@
+// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
+
template<class T>
struct super {
@@
-5,7
+7,7
@@
struct super {
void foo();
};
-template <class T>
+template <class T>
struct test : virtual super<int> {};
extern test<int> X;