Bug fix: inverted test condition to see if a serialized AST-bitcode
file had the correct preamble.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43785 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/SerializationTest.cpp b/Driver/SerializationTest.cpp
index 856ef75..0e9363c 100644
--- a/Driver/SerializationTest.cpp
+++ b/Driver/SerializationTest.cpp
@@ -188,7 +188,7 @@
   llvm::BitstreamReader Stream(BufPtr,BufPtr+MBuffer->getBufferSize());
   
   // Sniff for the signature in the bitcode file.
-  if (!ReadPremable(Stream)) {
+  if (ReadPremable(Stream)) {
     llvm::cerr << "ERROR: Invalid AST-bitcode signature.\n";
     return;
   }