[llvm-commits] CVS: llvm-test/SingleSource/Regression/C++/BuiltinTypeInfo.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Jul 28 12:25:34 PDT 2005
Changes in directory llvm-test/SingleSource/Regression/C++:
BuiltinTypeInfo.cpp added (r1.1)
---
Log message:
Ensure that a corner case in the CFE never gets broken
---
Diffs of the changes: (+6 -0)
BuiltinTypeInfo.cpp | 6 ++++++
1 files changed, 6 insertions(+)
Index: llvm-test/SingleSource/Regression/C++/BuiltinTypeInfo.cpp
diff -c /dev/null llvm-test/SingleSource/Regression/C++/BuiltinTypeInfo.cpp:1.1
*** /dev/null Thu Jul 28 14:25:33 2005
--- llvm-test/SingleSource/Regression/C++/BuiltinTypeInfo.cpp Thu Jul 28 14:25:23 2005
***************
*** 0 ****
--- 1,6 ----
+ #include <typeinfo>
+ #include <cstdio>
+
+ int main() {
+ printf("%d", typeid(int) == typeid(float));
+ }
More information about the llvm-commits
mailing list