summaryrefslogtreecommitdiffstats
path: root/clang/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
commit38ebcaa8c83d3fa9d0efcf7a076e827538b92c82 (patch)
tree8c6bca16e99cd0fb6eca4b46381c91df87917008 /clang/test/SemaCXX/offsetof.cpp
parentff08995589871d57a15207a24aeaa8959933c896 (diff)
downloadbcm5719-llvm-38ebcaa8c83d3fa9d0efcf7a076e827538b92c82.tar.gz
bcm5719-llvm-38ebcaa8c83d3fa9d0efcf7a076e827538b92c82.zip
Fix a thinko and a test.
llvm-svn: 70637
Diffstat (limited to 'clang/test/SemaCXX/offsetof.cpp')
-rw-r--r--clang/test/SemaCXX/offsetof.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/offsetof.cpp b/clang/test/SemaCXX/offsetof.cpp
index c8a3d3df457..f0290e889a2 100644
--- a/clang/test/SemaCXX/offsetof.cpp
+++ b/clang/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();
OpenPOWER on IntegriCloud