projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New makefile for new directory
[oota-llvm.git]
/
test
/
C++Frontend
/
2003-06-08-VirtualFunctions.cpp
diff --git
a/test/C++Frontend/2003-06-08-VirtualFunctions.cpp
b/test/C++Frontend/2003-06-08-VirtualFunctions.cpp
index ea32e1961283702ca9bb1ced7fab6db2ca579355..174e514403860a4916b377986821829a37a728b6 100644
(file)
--- a/
test/C++Frontend/2003-06-08-VirtualFunctions.cpp
+++ b/
test/C++Frontend/2003-06-08-VirtualFunctions.cpp
@@
-7,17
+7,10
@@
struct foo {
};
struct bar : public foo {
- //int x;
bar();
int T() {}
};
-//int bar::X() { return 0; }
-
-foo::foo() : y(4) {
-
-}
-
-bar::bar() {
-
-}
+foo::foo() : y(4) { }
+bar::bar() { }
+int main() { return 0; }