The precise issue to be answered in this appeal is whether an owner of a dwelling house who is not the original purchaser has a cause of action against the builder and general contractor for negligence in the construction of the house, when such negligence results in economic loss or damage to the owner. We conclude that such a cause of action exists.
On 10 February 1981, the plaintiffs purchased and acquired as tenants by the entirety a dwelling house and lot located in Wake County, North Carolina. This real property was formerly owned by the defendant as unimproved real estate. During the year 1978, the defendant improved the lot by constructing upon it the residence and dwelling house now owned by the plaintiffs. The defendant sold the house and lot to an original purchaser who subsequently sold it to a second purchaser. Plaintiffs purchased the dwelling house from the second purchaser.
According to the allegations in the complaint, the plaintiffs, after moving into the house, “discovered numerous defects, faulty workmanship and negligent construction of the residence,” consisting of, among other things, the installation of a drain pipe which had been cut, the failure to use grade-marked lumber, the failure to comply with specific provisions of the North Carolina Uniform Residential Building Code pertaining to certain weight bearing requirements, improper and insufficient nailing on bridging and beams, and faulty and shoddy workmanship. As a result of these specific acts of negligence, plaintiffs alleged they suffered economic loss and were forced to undergo extensive demolition and repair work to correct the defective, dangerous and unsafe *278 conditions caused by the defendant’s negligence. Plaintiffs demanded judgment against defendant in the sum of $25,000.
Defendant answered, denying any negligence, and specifically pleading the “statute of limitations, latches [sic], assumption of risk, accord and satisfaction, and act of God” as affirmative defenses. Defendant furthermore requested that plaintiffs’ action be dismissed for failure to state a claim upon which relief could be granted pursuant to Rule 12(b)(6) of the North Carolina Rules of Civil Procedure.
On 27 August 1982, Judge Donald L. Smith allowed defendant’s motion to dismiss pursuant to Rule 12(b)(6). Plaintiffs appealed to the Court of Appeals. That court concluded that the complaint failed to state a claim upon which relief could be granted on the sole ground that plaintiffs did not buy the home from defendant and that there had never been a contractual relationship between plaintiffs and defendant. From that decision, plaintiffs’ petition for discretionary review was allowed by this Court.
A.
We first address the Court of Appeals’ decision that plaintiffs’ complaint failed to state a valid claim for relief and that dismissal was proper. Dismissal of a complaint is proper under the provisions of Rule 12(b)(6) of the North Carolina Rules of Civil Procedure when one or more of the following three conditions is satisfied: (1) when the complaint on its face reveals that no law supports plaintiffs claim; (2) when the complaint reveals on its face the absence of fact sufficient to make a good claim; (3) when some fact disclosed in the complaint necessarily defeats the plaintiffs claim.
Forbis v. Honeycutt,
The Court of Appeals premised its decision primarily on the fact that there was an absence of contractual privity between plaintiffs and defendant. That court concluded that because (1) an implied warranty of fitness is available only to the initial vendee against a vendor-builder; (2) North Carolina has not extended products liability negligence concepts to the construction of houses or buildings; and (3) in the purchase of homes and buildings the traditional doctrine of caveat emptor applies, there *279 could be no action in North Carolina by a purchaser of a dwelling house, once removed from the original vendee, against the original builder for negligent construction.
It is generally true that many jurisdictions deny a subsequent purchaser relief against the seller-builder for latent defects based upon a traditional implied warranty theory.
See
Plaintiffs’ complaint, on its face, is replete with specific allegations of negligence on the part of defendant. The action in the instant case sounds in negligence, not implied warranty. In addressing this same question, a Florida intermediate appellate court stated:
[T]he absence of contractual privity between plaintiff and defendant does not affect plaintiffs tort claim, provided plaintiff can establish the existence of a duty between the parties, and defendant’s breach of such duty, with the proximate result that plaintiff suffered the damages of which it complains ....
The duty owed by a defendant to a plaintiff may have sprung from a contractual promise made to another; however, the duty sued on in a negligence action is not the contractual promise but the duty to use reasonable care in affirmatively performing that promise. The duty exists independent of the contract. Existence of a contract may uncontrovertibly establish that the parties owed a duty to each other to use reasonable care in performance of the contract, but it is not an exclusive test of the existence of that duty. Whether a defendant’s duty to use reasonable care extends to a plaintiff not a party to the contract is determined by whether that plaintiff and defendant are in a relationship in which the defendant has a duty imposed by law to avoid harm to the plaintiff.
*280
Navajo Circle, Inc. v. Development Concepts Corp.,
Therefore, regardless of the validity of any claim based on breach of an implied warranty, plaintiffs’ complaint sufficiently states a claim for negligence. In fact, plaintiffs’ complaint alleges five specific violations of the North Carolina Uniform Residential Building Code. The North Carolina Uniform Residential Building Code has been held to have the force of law and a violation thereof is negligence
per se. Drum v. Bisaner,
In
Simmons v. Owens,
On plaintiffs appeal, the builder argued that the trial court correctly dismissed the complaint because the plaintiff was a remote purchaser and could not sue under a theory of implied warranty. Id. at 143. A divided panel of the District Court of Appeals rejected defendant’s argument, observing that the defendant had failed “to refer us to a single case which holds that the purchaser of a used home may not sue the contractor for negligent construction where a latent defect causes damage to the house.” Id. That court reasoned:
We must be realistic. The ordinary purchaser of a home is not qualified to determine when or where a defect exists. Yet, the purchaser makes the biggest and most important investment in his or her life and, more times than not, on a limited budget. The purchaser can ill afford to suddenly find a latent defect in his or her home that completely destroys the family’s budget and have no remedy for recourse. This happens too often. The careless work of contractors, who in the past have been insulated from liability, must cease or *281 they must accept financial responsibility for their negligence. In our judgment, building contractors should be held to the general standard of reasonable care for the protection of anyone who may foreseeably be endangered by their negligence. Prosser, Torts, p. 519 (2d ed. 1955). But this is for our Supreme Court to decide. Hoffman v. Jones,280 So. 2d 431 (Fla. 1973). We urge it to do so.
Id.
Although the Florida Supreme Court does not seem to have addressed the precise question as yet, we are nonetheless persuaded by the reasoning contained in the intermediate appellate court’s decision. Indeed, courts in other jurisdictions have recognized a similar rule.
Woodward v. Chirco Construction Co., Inc.,
B.
The Court of Appeals also concluded that the defects in the instant case were not latent. Therefore, it was decided by that court that plaintiffs should be subjected to the maxim of
caveat emptor
or let the buyer beware.
Oates,
In its brief to this court and the Court of Appeals, defendant further argues that plaintiffs’ action is barred by G.S. 1-52(5). 1 We disagree. The proper statute to be applied in this case is G.S. l-50(5)(a), 2 which provides:
(5)a No action to recover damages based upon or arising out of the defective or unsafe condition of an improvement to real property shall be brought more than six years from the later of the specific last act or omission of the defendant giving rise to the cause of action or substantial completion of the improvement.
That statute furthermore provides:
(5)b For the purpose of this subdivision, an action based upon or arising out of the defective or unsafe condition of an improvement to real property includes:
2. Actions to recover damages for the negligent construction or repair of an improvement to real property.
In the instant case, defendant acquired the unimproved lot on which plaintiffs’ house was subsequently built by defendant on 16 February 1978. Thereafter, defendant improved the real estate by constructing on the lot the house in which plaintiffs now live. The house was sold by defendant to the first purchaser on 26 October 1978. Plaintiffs filed their complaint on 30 April 1982. Regardless of which date is selected in this case to determine when the statute begins to run, whether it be 16 February or 26 October 1978, it is abundantly clear that plaintiffs filed their action within six years from either date. Therefore, plaintiffs’ action is not barred by the applicable statute of repose.
*283 Defendant also argues that the three-year statute of limitations contained within G.S. 1-52(5) acts as an absolute bar to plaintiffs’ claim and that G.S. 1-50(5) cannot revive that claim. This argument lacks merit. G.S. l-50(5)(f) provides:
(5)f This subdivision prescribes an outside limitation of six years from the later of the specific last act or omission or substantial completion, within which the limitations prescribed by G.S. 1-52 and 1-53 continue to run. For purposes of the three-year limitation prescribed by G.S. 1-52, a cause of action based upon or arising out of the defective or unsafe condition of an improvement to real property shall not accrue until the injury, loss, defect or damage becomes apparent or ought reasonably to have become apparent to the claimant. However, as provided in this subdivision, no action may be brought more than six years from the later of the specific last act or omission or substantial completion.
This subsection does not support defendant’s argument. First, subsection (5)f contains a specific discovery provision that operates in conjunction with G.S. 1-52. That discovery provision prevents the three-year statute of limitations from accruing “until the injury, loss, defect or damage becomes apparent or ought reasonably to have become apparent to the claimant.” In the instant case, the claimant-plaintiffs did not purchase the home until 10 February 1981. Thus, even if plaintiffs should have reasonably discovered the defects on that date and G.S. 1-52 should have then begun to run, plaintiffs would still have had three years from that date to commence an action, or until 10 February 1984, provided that not more than six years had elapsed since the later of the specific last act or omission of the defendant giving rise to the cause of action or substantial completion of the improvement by defendant. There are no facts alleged to indicate the later date for determining when the six-year period of repose would begin to run. The house was sold to the first vendees on 26 October 1978, and construction must have begun sometime after defendant purchased the lot in February of that same year. Regardless of the precise date in 1978 when the later act occurred, six years would not terminate until the year 1984. Plaintiffs’ complaint was filed and their action commenced in 1982, well within the six-year period of repose. Thus, even if, as defendant contends, G.S. 1-52 is *284 the proper statute of limitations, plaintiffs would still have timely filed the instant action.
In conclusion, we reject the argument that plaintiffs’ claim would be barred by G.S. 1-52(5), since the complaint was filed within three years after the date they purchased the home, the earliest date contained in the record to indicate that the defects could have become apparent to plaintiffs. Nor does G.S. 1-50(5) bar plaintiffs’ action because six years had not elapsed since the specific last act or omission of the defendant giving rise to the cause of action or substantial completion of the improvement by defendant. Accordingly, the decision of the Court of Appeals must be reversed. The case is remanded to that court for further remand to the trial court for proceedings not inconsistent with this opinion.
Reversed and remanded.
Notes
. This statute of limitations applies to actions for criminal conversation, or for any other injury to the person or rights of another, not arising on contract and not hereafter enumerated.
. This statute is more properly labeled a statute of repose.
Lamb v. Wedgewood South Corp.,
