Fix a thinko

llvm-svn: 104229
diff --git a/clang/lib/CodeGen/CGExprAgg.cpp b/clang/lib/CodeGen/CGExprAgg.cpp
index b467dbc..2e408ed 100644
--- a/clang/lib/CodeGen/CGExprAgg.cpp
+++ b/clang/lib/CodeGen/CGExprAgg.cpp
@@ -763,7 +763,7 @@
       CXXRecordDecl *Record = cast<CXXRecordDecl>(RT->getDecl());
       assert((Record->hasTrivialCopyConstructor() || 
               Record->hasTrivialCopyAssignment() ||
-              /*FIXME!*/getContext().getLangOptions().CPlusPlus) &&
+              /*FIXME!*/getContext().getLangOptions().ObjC1) &&
              "Trying to aggregate-copy a type without a trivial copy "
              "constructor or assignment operator");
       if (Record->isEmpty())