summaryrefslogtreecommitdiff
path: root/test/SemaCXX/offsetof.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-05-02 18:36:10 +0000
committerAnders Carlsson <andersca@mac.com>2009-05-02 18:36:10 +0000
commit5992e4a9cf7e2762a746a6d355dfab4598125012 (patch)
tree071d577f53be0b02440f22e7ecb40910977f1cc4 /test/SemaCXX/offsetof.cpp
parent11e1b40d759a643086f590f6ffbd9d68360bad46 (diff)
downloadclang-5992e4a9cf7e2762a746a6d355dfab4598125012.tar.gz
Fix a thinko and a test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70637 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/offsetof.cpp')
-rw-r--r--test/SemaCXX/offsetof.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/offsetof.cpp b/test/SemaCXX/offsetof.cpp
index c8a3d3df45..f0290e889a 100644
--- a/test/SemaCXX/offsetof.cpp
+++ b/test/SemaCXX/offsetof.cpp
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s -Winvalid-offsetof
struct NonPOD {
virtual void f();