summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/offsetof.cpp
diff options
context:
space:
mode:
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 f3dc52d..3283270 100644
--- a/test/SemaCXX/offsetof.cpp
+++ b/test/SemaCXX/offsetof.cpp
@@ -10,7 +10,7 @@ struct P {
};
void f() {
- int i = __builtin_offsetof(P, fieldThatPointsToANonPODType.m); // expected-warning{{offset of on non-POD type 'struct P'}}
+ int i = __builtin_offsetof(P, fieldThatPointsToANonPODType.m); // expected-warning{{offset of on non-POD type 'P'}}
}
struct Base { int x; };
OpenPOWER on IntegriCloud