Fix/re-enable test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70800 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp
index 2986cc3..6ce98cd 100644
--- a/lib/Sema/SemaExpr.cpp
+++ b/lib/Sema/SemaExpr.cpp
@@ -4734,7 +4734,7 @@
<< SourceRange(CompPtr[1].LocStart, CompPtr[NumComponents-1].LocEnd);
if (!Dependent) {
- bool DidWarnAboutNonPOD;
+ bool DidWarnAboutNonPOD = false;
// FIXME: Dependent case loses a lot of information here. And probably
// leaks like a sieve.
diff --git a/test/SemaCXX/offsetof.cpp b/test/SemaCXX/offsetof.cpp
index 2c03bed..f0290e8 100644
--- a/test/SemaCXX/offsetof.cpp
+++ b/test/SemaCXX/offsetof.cpp
@@ -1,6 +1,4 @@
-// FIXME: This test fails on 32-bit platforms? Investigate.
-
-// RUNX: clang-cc -fsyntax-only -verify %s -Winvalid-offsetof
+// RUN: clang-cc -fsyntax-only -verify %s -Winvalid-offsetof
struct NonPOD {
virtual void f();