Skip to content

Commit

Permalink
Prior to adding the new "expected-no-diagnostics" directive to Verify…
Browse files Browse the repository at this point in the history
…DiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166280 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
andyg1001 committed Oct 19, 2012
1 parent 4a529d2 commit 8e8fb3b
Show file tree
Hide file tree
Showing 580 changed files with 619 additions and 6 deletions.
1 change: 1 addition & 0 deletions test/ASTMerge/exprs.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -emit-pch -o %t.1.ast %S/Inputs/exprs1.c
// RUN: %clang_cc1 -emit-pch -o %t.2.ast %S/Inputs/exprs2.c
// RUN: %clang_cc1 -ast-merge %t.1.ast -ast-merge %t.2.ast -fsyntax-only -verify %s
// expected-no-diagnostics

1 change: 1 addition & 0 deletions test/Analysis/CFContainers-invalid.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=osx.coreFoundation.containers.PointerSizedValues -triple x86_64-apple-darwin -verify %s
// expected-no-diagnostics

typedef const struct __CFAllocator * CFAllocatorRef;
typedef const struct __CFArray * CFArrayRef;
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/CFRetainRelease_NSAssertionHandler.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify %s -analyzer-constraints=range -analyzer-store=region
// expected-no-diagnostics

typedef struct objc_selector *SEL;
typedef signed char BOOL;
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/MissingDealloc.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=alpha.osx.cocoa.Dealloc %s -verify
// expected-no-diagnostics
typedef signed char BOOL;
@protocol NSObject
- (BOOL)isEqual:(id)object;
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/NSPanel.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -analyzer-store=region -analyzer-constraints=range -verify -Wno-objc-root-class %s
// expected-no-diagnostics

// BEGIN delta-debugging reduced header stuff

Expand Down
1 change: 1 addition & 0 deletions test/Analysis/NoReturn.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -analyzer-constraints=range -verify %s
// expected-no-diagnostics

#include <stdarg.h>

Expand Down
1 change: 1 addition & 0 deletions test/Analysis/OSAtomic_mac.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-checker=core,osx -analyzer-store=region -verify -fblocks -analyzer-opt-analyze-nested-blocks %s
// expected-no-diagnostics

// Test handling of OSAtomicCompareAndSwap when C++ inserts "no-op" casts and we
// do a forced load and binding to the environment on an expression that would regularly
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/ObjCProperties.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -analyzer-constraints=range -Wno-objc-root-class %s -verify
// expected-no-diagnostics

// The point of this test cases is to exercise properties in the static
// analyzer
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/PR9741.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -cc1 -std=c++11 -Wuninitialized -verify %s
// expected-no-diagnostics

void f() {
int a[] = { 1, 2, 3 };
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/casts.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify %s
// RUN: %clang_cc1 -triple i386-apple-darwin9 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify %s
// expected-no-diagnostics

// Test if the 'storage' region gets properly initialized after it is cast to
// 'struct sockaddr *'.
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/casts.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify %s
// expected-no-diagnostics

// Test function pointer casts. Currently we track function addresses using
// loc::FunctionVal. Because casts can be arbitrary, do we need to model
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/cfref_PR2519.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -analyzer-store=region -analyzer-constraints=range -verify %s
// expected-no-diagnostics

typedef unsigned char Boolean;
typedef signed long CFIndex;
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/cfref_rdar6080742.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -analyzer-constraints=range -verify %s
// expected-no-diagnostics

// This test case was reported in <rdar:problem/6080742>.
// It tests path-sensitivity with respect to '!(cfstring != 0)' (negation of inequality).
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/complex-init-list.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-output=text -verify %s
// expected-no-diagnostics

// Do not crash on initialization to complex numbers.
void init_complex() {
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/concrete-address.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify %s
// expected-no-diagnostics

void foo() {
int *p = (int*) 0x10000; // Should not crash here.
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/cstring-syntax-cxx.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=unix.cstring.BadSizeArg -analyzer-store=region -verify %s
// expected-no-diagnostics

// Ensure we don't crash on C++ declarations with special names.
struct X {
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/cxx-method-names.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix,osx,alpha.unix,alpha.security.taint -analyzer-store region -verify %s
// expected-no-diagnostics

class Evil {
public:
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/cxx11-crashes.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core -std=c++11 -verify %s
// expected-no-diagnostics

// radar://11485149, PR12871
class PlotPoint {
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/dead-stores.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=alpha.core -analyzer-checker=deadcode.DeadStores,osx.cocoa.RetainCount -fblocks -verify -Wno-objc-root-class %s
// expected-no-diagnostics

typedef signed char BOOL;
typedef unsigned int NSUInteger;
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/delegates.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-store=region -Wno-objc-root-class -verify %s
// expected-no-diagnostics


//===----------------------------------------------------------------------===//
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/engine/replay-without-inlining.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -verify %s
// expected-no-diagnostics

typedef struct {
char I[4];
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/idempotent-operations.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-store=region -analyzer-constraints=range -fblocks -analyzer-opt-analyze-nested-blocks -analyzer-checker=alpha.deadcode.IdempotentOperations,osx.cocoa.RetainCount -verify %s
// expected-no-diagnostics

typedef signed char BOOL;
typedef unsigned long NSUInteger;
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/inline2.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core -verify %s
// expected-no-diagnostics

// Test parameter 'a' is registered to LiveVariables analysis data although it
// is not referenced in the function body.
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/inline3.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core -verify %s
// expected-no-diagnostics

// Test when entering f1(), we set the right AnalysisDeclContext to Environment.
// Otherwise, block-level expr '1 && a' would not be block-level.
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/inline4.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core -verify %s
// expected-no-diagnostics

int g(int a) {
return a;
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/inlining/test_objc_inlining_option.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-ipa=dynamic-bifurcate -analyzer-config objc-inlining=false -verify %s
// expected-no-diagnostics

typedef signed char BOOL;
typedef struct objc_class *Class;
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/lvalue.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-store=region -verify %s
// expected-no-diagnostics

int f1() {
int x = 0, y = 1;
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/malloc-overflow.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=alpha.security.MallocOverflow -verify %s
// expected-no-diagnostics

class A {
public:
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/method-call-intra-p.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-store region -verify %s
// expected-no-diagnostics

// Intra-procedural C++ tests.

Expand Down
1 change: 1 addition & 0 deletions test/Analysis/misc-ps-64.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -analyzer-constraints=range -verify -fblocks %s
// expected-no-diagnostics

// <rdar://problem/6440393> - A bunch of misc. failures involving evaluating
// these expressions and building CFGs. These tests are here to prevent
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/misc-ps-arm.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -triple thumbv7-apple-ios0.0.0 -analyze -analyzer-checker=core -analyzer-store=region -verify -fblocks -analyzer-opt-analyze-nested-blocks -Wno-objc-root-class %s
// expected-no-diagnostics

// <rdar://problem/11405978> - Handle casts of vectors to structs, and loading
// a value.
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/misc-ps-eager-assume.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -analyzer-constraints=range -verify -fblocks %s -analyzer-eagerly-assume
// expected-no-diagnostics

// Delta-reduced header stuff (needed for test cases).
typedef signed char BOOL;
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/misc-ps-region-store-i386.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -triple i386-apple-darwin9 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify -fblocks %s
// expected-no-diagnostics

// Here is a case where a pointer is treated as integer, invalidated as an
// integer, and then used again as a pointer. This test just makes sure
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/misc-ps-region-store-x86_64.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify -fblocks %s
// expected-no-diagnostics

// Here is a case where a pointer is treated as integer, invalidated as an
// integer, and then used again as a pointer. This test just makes sure
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/misc-ps-region-store.mm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// RUN: %clang_cc1 -triple i386-apple-darwin9 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify -fblocks -analyzer-opt-analyze-nested-blocks %s
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify -fblocks -analyzer-opt-analyze-nested-blocks %s
// expected-no-diagnostics

//===------------------------------------------------------------------------------------------===//
// This files tests our path-sensitive handling of Objective-c++ files.
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/no-exit-cfg.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify %s
// expected-no-diagnostics

// This is a test case for the issue reported in PR 2819:
// http://llvm.org/bugs/show_bug.cgi?id=2819
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/null-deref-ps-region.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -std=gnu99 -analyzer-store=region -verify %s
// expected-no-diagnostics


// The store for 'a[1]' should not be removed mistakenly. SymbolicRegions may
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/objc-bool.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang --analyze %s -o %t -Xclang -verify
// expected-no-diagnostics

// Test handling of ObjC bool literals.

Expand Down
1 change: 1 addition & 0 deletions test/Analysis/pr_4164.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify %s
// expected-no-diagnostics

// PR 4164: http://llvm.org/bugs/show_bug.cgi?id=4164
//
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/rdar-6442306-1.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core %s -analyzer-store=region -verify
// expected-no-diagnostics

typedef int bar_return_t;
typedef struct {
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/rdar-6562655.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -analyzer-constraints=range -analyzer-store=region -verify %s
// expected-no-diagnostics
//
// This test case mainly checks that the retain/release checker doesn't crash
// on this file.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-constraints=range -analyzer-store=region -verify -Wno-objc-root-class %s
// expected-no-diagnostics

typedef struct Foo { int x; } Bar;

Expand Down
1 change: 1 addition & 0 deletions test/Analysis/redefined_system.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=unix,core,alpha.security.taint -w -verify %s
// expected-no-diagnostics

// Make sure we don't crash when someone redefines a system function we reason about.

Expand Down
1 change: 1 addition & 0 deletions test/Analysis/region-1.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify %s
// expected-no-diagnostics
//
// This test case simply should not crash. It evaluates the logic of not
// using MemRegion::getRValueType in incorrect places.
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/region-store.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix -verify %s
// expected-no-diagnostics

int printf(const char *restrict,...);

Expand Down
1 change: 1 addition & 0 deletions test/Analysis/security-syntax-checks-no-emit.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -triple i686-pc-linux-gnu -analyze -analyzer-checker=security.insecureAPI,security.FloatLoopCounter %s -verify
// expected-no-diagnostics

// This file complements 'security-syntax-checks.m', but tests that we omit
// specific checks on platforms where they don't make sense.
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/static_local.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core -verify -Wno-objc-root-class %s
// expected-no-diagnostics

// Test reasoning about static locals in ObjCMethods.
int *getValidPtr();
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/svalbuilder-logic.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix -verify %s
// expected-no-diagnostics

// Testing core functionality of the SValBuilder.

Expand Down
1 change: 1 addition & 0 deletions test/Analysis/taint-tester.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=alpha.security.taint,debug.TaintTest %s -verify
// expected-no-diagnostics

typedef struct _FILE FILE;
typedef __typeof(sizeof(int)) size_t;
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/taint-tester.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=alpha.security.taint,debug.TaintTest %s -verify
// expected-no-diagnostics

#import <stdarg.h>

Expand Down
1 change: 1 addition & 0 deletions test/Analysis/uninit-vals.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-store=region -verify %s
// expected-no-diagnostics

typedef unsigned int NSUInteger;

Expand Down
1 change: 1 addition & 0 deletions test/Analysis/unions-region.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-store=region -analyzer-constraints=range %s -verify
// expected-no-diagnostics

//===-- unions-region.m ---------------------------------------------------===//
//
Expand Down
1 change: 1 addition & 0 deletions test/Analysis/unions.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core %s -verify
// expected-no-diagnostics

namespace PR14054_reduced {
struct Definition;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics

namespace N1 {
struct X { };
Expand Down
1 change: 1 addition & 0 deletions test/CXX/basic/basic.lookup/basic.lookup.classref/p3.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics

// C++0x [basic.lookup.classref]p3:
// If the unqualified-id is ~type-name, the type-name is looked up in the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -std=c++11 %s -verify
// expected-no-diagnostics

struct A { void f(); };
struct C { void f(); };
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics

// This is basically paraphrased from the standard.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics

namespace A {
int a;
Expand Down
1 change: 1 addition & 0 deletions test/CXX/basic/basic.lookup/basic.lookup.udir/p1.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics

// When looking up a namespace-name in a using-directive or
// namespace-alias-definition, only namespace names are considered.
Expand Down
1 change: 1 addition & 0 deletions test/CXX/basic/basic.lookup/basic.lookup.unqual/p12.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics

struct S {};
S E0;
Expand Down
1 change: 1 addition & 0 deletions test/CXX/basic/basic.lookup/basic.lookup.unqual/p13.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics

struct S {
static const int f0 = 0;
Expand Down
1 change: 1 addition & 0 deletions test/CXX/basic/basic.lookup/basic.lookup.unqual/p14.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics

// C++0x [basic.lookup.unqual]p14:
// If a variable member of a namespace is defined outside of the
Expand Down
1 change: 1 addition & 0 deletions test/CXX/basic/basic.lookup/basic.lookup.unqual/p3.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics

typedef int f;

Expand Down
1 change: 1 addition & 0 deletions test/CXX/basic/basic.scope/basic.scope.pdecl/p9.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics

// Template type parameters.
typedef unsigned char T;
Expand Down
1 change: 1 addition & 0 deletions test/CXX/basic/basic.start/basic.start.main/p2a.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics

typedef int Int;
typedef char Char;
Expand Down
1 change: 1 addition & 0 deletions test/CXX/basic/basic.start/basic.start.main/p2b.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics

typedef int Int;
typedef char Char;
Expand Down
Loading

0 comments on commit 8e8fb3b

Please sign in to comment.