In light of the unusual disposition of this action by the trial court, it is first necessary that we determine the proper posture *262 of the case on appeal. The trial court denied the additional defendant’s motion for summary judgment but allowed his motion to dismiss pursuant to G.S. 1A-1, Rule 12(b)(6) for failure to state a claim upon which relief may be granted. We agree with the additional defendant, Coltrane, that the trial court’s action was inconsistent. However, we do not find that inconsistency to constitute prejudicial error. As discussed infra, however, the inconsistent ruling by the trial court does affect our review of the case on appeal.
In reviewing additional defendant’s contention that it is prejudicial error to first deny a motion for summary judgment and then grant a 12(b)(6) motion for failure to state a claim upon which relief may be granted, we note several distinctions between the two motions. Granted, several of them are subtle. A 12(b)(6) motion for failure to state a claim upon which relief can be granted addresses the claim itself and the moving party is simply asserting that the pleading to which the motion is directed does not sufficiently state a claim for relief. Unless the motion is converted into one for summary judgment, as permitted by the last sentence in Rule 12(b), it does not challenge the actual existence of meritorious claim. The motion only entails an examination of the sufficiency of the pleadings. By contrast, the summary judgment motion embraces more than the pleadings and the trial court may properly consider affidavits, depositions, and other information designated in the Rule. The Rule 56 motion is an assertion that there is no genuine issue as to any material fact and that the moving party is entitled to a judgment on the merits as a matter of law on the basis of the record then existing. Obviously, the summary judgment motion may be made on the basis of the pleadings alone and, in that event, it is the same as the motion under Rule 12(b)(6).
Dyal v. Union Bag-Camp Paper Corp.,
The confusion between Rule 56 and Rule 12(b)(6) motions has revolved primarily around the question whether matter outside the pleadings can be presented on a Rule 12(b)(6) motion to dismiss. The confusion resulted in a 1948 amendment to Rule 12 of the Federal Rules of Civil Procedure, upon which our rule was based, providing that when outside matter is presented to and not excluded by the court on a motion under either Rule 12(b)(6) or Rule 12(c), it should be treated as one for summary judgment
*263
under Rule 56. The result is that the party moving for dismissal for failure to state a claim may show that, even if the complaint is sufficient on its face, undisputed facts not appearing in the complaint entitle him to a summary judgment. Moreover, the Rule 12(b)(6) motion is addressed solely to the sufficiency of the complaint and does not prevent summary judgment from subsequently being granted based on material outside the complaint.
Beedy v. Washington Water Power Co.,
Here, the trial court did not treat the summary judgment motion as moot. Indeed, it expressly denied the motion. Moreover, it is not clear from the record before us whether the trial court considered the affidavits in deciding the Rule 12(b)(6) motion. In light of the last sentence in Rule 12(b), we must assume that the court did exclude all matter outside the pleadings. That sentence provides that when outside matter is presented to and not excluded by the court on a motion under Rule 12(b)(6), it should be treated as one for summary judgment under Rule 56. Since the trial judge here denied the motion for summary judgment, and then allowed the motion under Rule 12(b)(6), and since outside matter is not ordinarily considered under a Rule 12(b)(6) motion, we must assume that the trial judge concluded that, as a matter of law, the defendant’s counterclaim on its face failed to state a claim for which relief could be granted. For that reason, we do not review, for purposes of defendant’s appeal, the affidavits or other documents, submitted in support of or opposition to the motion.for summary judgment.
The result of the foregoing is this: The primary question raised on this appeal is whether the trial court properly allowed the motion to dismiss pursuant to Rule 12(b)(6) for failure to state a claim upon which relief can be granted.
The test on a motion to dismiss for failure to state a claim upon which .relief can be granted is whether the pleading is legal
*264
ly sufficient. 11 Strong, N.C. Index 3d, Rules of Civil Procedure, § 12, p. 294. A complaint may be dismissed on motion filed under Rule 12(b)(6) if it is clearly without merit; such lack of merit may consist of an absence of law to support a claim of the' sort made, absence of fact sufficient to make a good claim, or the disclosure of some fact which will necessarily defeat the claim.
Hodges v. Wellons,
We now turn to the question of whether the counterclaim by the contractor, Lloyd, states a claim upon which relief may be granted against the architect, Coltrane. We hold that the motion to dismiss pursuant to Rule 12(b)(6) was improvidently entered.
The primary substantive issue presented is whether a third party general contractor, who may foreseeably be injured or suffer an economic loss proximately caused by the negligent performance of a contractual duty by an architect, has a cause of action against the architect, notwithstanding absence of privity, for negligent approval of defective materials and workmanship.
In
Although, under the traditional general rule, privity of contract was required before a cause of action could arise from the negligent breach of a duty existing by virtue of contract, this requirement has been gradually eliminated in many jurisdictions, at first with respect to actions for personal injuries or death, and later in regard to suits predicated upon harm to intangible economic interests. Thus, just as the privity doctrine has been widely repudiated in architect cases involving personal injury or death stemming from negligently prepared plans and designs and from negligent supervision, the courts of several jurisdictions have indicated that the doctrine cannot be applied to shield an ar *265 chitect from liability to a contractor who has suffered economic damage as a result of the negligence of the architect. It has been so held with respect to causes of action arising both from negligent supervision and from the negligent preparation of plans and specifications.
We think that the evolution of related cases brings North Carolina in accord with the rules stated above. It is well settled in North Carolina that where a contract between two parties is intended for the benefit of a third party, the latter may maintain an action in contract for its breach or in tort if he has been injured as a result of its negligent performance.
Jones v. Otis Elevator Company,
The parties to a contract impose upon themselves the obligation to perform it; the law imposes upon each of them the obligation to perform it with ordinary care and they may not substitute a contractual standard for this obligation. A failure to perform a contractual obligation is never a tort unless such nonperformance is also the omission of a legal duty. (Citation omitted.) The contract merely furnishes the occasion, or creates the relationship which furnishes the occasion, for the tort. Toone v. Adams,262 N.C. 403 , 407,137 S.E. 2d 132 , 135 (1964).
The law imposes upon every person whc/ enters upon an active course of conduct the positive duty to use ordinary care so as to protect others from harm. A violation of that duty is negligence. It is immaterial whether the person acts in his own behalf or under contract with another.
Council v. Dickerson’s, Inc.,
The additional defendant contends primarily that the liability for negligence of an architect, as a professional, extends only to those with whom he is in privity of contract. He implicitly concedes that he would be liable to his client, the school board, for negligently prepared plans and specifications. Since he was under no contractual duty with the contractor, he argues, he should not be liable to him. We think, however, that the expansion of liability to third parties now establishes the proposition that a contrac
*266
tor hired by the client to construct a building, although not in privity with the architect, may recover from the architect any extra costs resulting from the architect’s negligence. To hold otherwise would require that we ignore the modern concepts of tort liability first established by
MacPherson v. Buick Motor Co.,
Altogether too much control over the contractor necessarily rests in the hands of the supervising architect for him not to be placed under a duty imposed by law to perform without negligence his functions as they affect the contractor. The power of the architect to stop the work alone is tantamount to a power of economic life or death over the contractor. It is only just that such authority, exercised in such a relationship, carry commensurate legal responsibility.
Rogers is a case analogous to the case at bar. There, in an action brought in the name of the United States by suppliers of labor and materials for a school construction project, the defendant contractor counterclaimed against the project architect, who had allegedly negligently interpreted certain concrete tests and had thereby approved the installation of inadequate concrete structural forms. The result was that the contractor suffered damages in compensating for the defective forms and in the consequent delay in completing the work. The court held that the negligent breach by an architect of his contract with the owner gave rise to an actionable claim, sounding in tort, in favor of a stranger to the contract, including a contractor who allegedly had been damaged by the breach. The court held that various factors must be balanced, including the extent to which the transaction was intended to affect the plaintiff, the foreseeability of harm to him, the degree of certainty that he suffered injury, the closeness of the connection between the defendant’s conduct and the injury, the moral blame attached to such conduct, and the policy of preventing future harm.
*267
In
A. R. Moyer, Inc. v. Graham,
We adhere to the language of the Florida court:
From the foregoing, we are satisfied that the principle is established that a third party general contractor, who may foreseeably be injured or sustained an economic loss proximately caused by the negligent performance of a contractual duty of an architect, has a cause of action against the alleged negligent architect, notwithstanding absence of privity. Id. at 402.
The additional defendant (architect) here attempts to distinguish the cases cited by noting that they involve supervising architects. He argues that, in the instant case, the contractor, not the architect, had responsibility for supervision of construction, and that the owner had the life and death power to stop the work of the contractor. However, the contractor’s counterclaim here alleged that “said construction under the contract was done under the supervision and approval of the said Noel N. Coltrane.” As stated above, the allegations of the complaint in a Rule 12(b)(6) motion must be treated as truth. The reviewing courts must, therefore, in the instant case, assume that the architect here was a supervising architect.
Additional defendant also relies upon the decision of our Supreme Court in
Ports Authority v. L. A. Fry Roof Company,
There was also no error in dismissing the action against Scott. Scott asserted in its answer the defense that the complaint fails to state a claim upon which relief may be granted against it. In this, Scott was correct. Although the complaint states that the plaintiff seeks recovery against Scott “in tort for the negligent installation of the roofs on these two buildings,” it alleges that the defendant Scott was the roofing subcontractor of Dickerson, the general contractor, and that Scott failed properly to apply the roofing material, in consequence of which failure the roofs leaked. This is simply an allegation that Scott did not properly perform its contract with Dickerson and, for the reasons above set forth, does not allege a cause of action in tort in favor of the plaintiff against Scott. Id. at294 N.C. 87 ,240 S.E. 2d 353 .
We think that Ports Authority is clearly distinguishable from the case at bar and from the cases cited above. There, the plaintiff attempted to sue the subcontractor for breach of its contract with the contractor. The Supreme Court held that the pleadings did not allege a cause of action in tort in favor of plaintiff against the subcontractor. The Court stated, however, the rule that a promisor may be liable in a tort action for personal injury or damage to property proximately caused by his negligent, or willful, act or omission in the course of the performance of his contract when the injury, proximately caused by the promisor’s negligent act or omission in the performance of his contract, was an injury to the person or property of someone other than the promissee. The Court reiterated the principles enunciated by Council v. Dickerson, supra, and other cases cited above. We reject additional defendant’s contention that Ports Authority overrules the well settled North Carolina rule that where a contract between two parties is intended for the benefit of a third party, the latter may maintain an action in tort if he has been injured as a result of its negligent performance. Moreover, the following is well established in North Carolina:
One who engages in a business, occupation or profession represents to those who deal with him in that capacity that he possesses the knowledge, skill, and ability, with reference *269 to matters relating to such calling which others engaged therein ordinarily possess. He also represents that he will exercise reasonable care in the use of his skill and in the application of his knowledge and will exercise his best judgment in the performance of work for which his services are engaged, within the limits of such calling. Insurance Company v. Sprinkle Company,266 N.C. 134 , 140,146 S.E. 2d 53 , 59 (1966).
We are not inadvertent to the holding of this Court in
Drilling Co. v. Nello L. Teer, Co.,
1. In
Drilling Co.,
it was stated specifically that the result reached was based on the authority of
Durham v. Engineering Co.,
2. In both
Drilling Co.
and
Durham,
the parties against whom liability was sought to be imposed were consulting engi
*270
neers. In the instant case, we are concerned with an architect with alleged general supervisory power. While the responsibilities of consulting engineers and architects can, in many instances, be virtually the same and while most authorities apply the principles we enunciate here to both professions, we believe the distinction important here particularly in light of this statement in
Drilling Co.,
3. In
Drilling Co.,
the action was for tortious interference with the performance of a contract and the allegation against the consulting engineer was that he had
exceeded
the plan specifications. The allegation was that the engineer “went above and beyond the call of duty.” That allegation prompted this Court to state that the defendant engineer “should not be unnecessarily burdened with fear of liability for requiring work
exceeding
plan specifications.”
We also note that another panel of this Court has independently reached a decision similar to ours in an opinion filed 19 June 1979,
Davidson and Jones, Inc. v. New Hanover,
Moreover, we believe it would be inconsistent for us to fail to extend the abolition of the privity requirement to the factual situation here presented. It was stated in
Drilling Co.
that North Carolina cases finding liability for negligent performance of a contractual duty in the absence of privity of contract have been limited to actions for personal injury or property damages.
See, e.g., Council v. Dickerson’s Inc., supra
(automobile damaged because of negligent highway paving);
Jones v. Otis Elevator Co., supra
(personal injury from fall in elevator shaft);
MacIntyre v. Monarch Elevator and Machine Co.,
[B]y entering into a contract with A, the defendant may place himself in such a relation toward B that the law will impose upon, him an obligation, sounding in tort and not in contract, to act in such a way that B will not be injured. The incidental fact of the existence of the contract with A does not negative the responsibility of the actor when he enters upon a course of affirmative conduct which may be expected to affect the interests of another person. Prosser, Torts 4th Ed., § 93, p. 622.
In
Potter v. Carolina Water Co.,
For the reasons stated above, we hold that the trial court erred in granting additional defendant’s motion to dismiss pursuant to Rule 12(b)(6) for failure to state a claim upon which relief can be granted.
We now turn to the question of additional defendant’s conditional cross appeal in which he contends that the trial court erred in denying his motion for summary judgment. We have indicated above, that in light of the trial court’s allowance of the Rule 12(b) (6) motion, the motion for summary judgment became moot. For reasons not apparent to us, the trial court elected to deny the motion while granting the Rule 12(b)(6) motion. Since the trial court elected to rule on the summary judgment motion, it is necessary for us to review its propriety. We hold that the ruling was proper, albeit unnecessary.
Ordinarily, the denial of a motion for summary judgment does not affect a substantial right so that an appeal may be taken, but the moving party is free to preserve his exception for consideration on appeal from the final judgment. To allow an appeal from a denial of a motion for summary judgment would open the flood gate of fragmentary appeals and cause a delay in administering justice.
Motyka v. Nappier,
With respect to the defendant’s appeal from the judgment dismissing the counterclaim for failure to state a claim upon which relief can be granted pursuant to Rule 12(b)(6), we hold that the judgment of the trial court was in error. The judgment is therefore
Reversed and remanded.
With respect to additional defendant’s conditional cross appeal, the judgment of the trial court in denying the motion for summary judgment is
Affirmed.
